Class NoContentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.intermine.webservice.server.exceptions.ServiceException
-
- org.intermine.webservice.server.exceptions.NoContentException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoContentException extends ServiceException
The NoContentException is thrown by a service when the resource requested exists but has an empty representation.- Author:
- Jakub Kulaviak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoContentException(java.lang.String message)
NoContentException(java.lang.String message, java.lang.Throwable cause)
NoContentException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.intermine.webservice.server.exceptions.ServiceException
getHttpErrorCode, getMessage
-
-
-
-
Constructor Detail
-
NoContentException
public NoContentException(java.lang.String message)
- Parameters:
message
- message
-
NoContentException
public NoContentException(java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- messagecause
- cause
-
NoContentException
public NoContentException(java.lang.Throwable cause)
- Parameters:
cause
- cause
-
-