Package org.intermine.client.exceptions
Class ResourceNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.intermine.client.exceptions.ServiceException
-
- org.intermine.client.exceptions.ResourceNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class ResourceNotFoundException extends ServiceException
The ResourceNotFoundException is thrown by a service provider when an attempt is made to perform an operation upon a resource that cannot be found.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.intermine.client.exceptions.ServiceException
ERROR_CODE
-
-
Constructor Summary
Constructors Constructor Description ResourceNotFoundException(java.lang.String message)
ResourceNotFoundException(java.lang.String message, java.lang.Throwable cause)
ResourceNotFoundException(java.lang.Throwable cause)
ResourceNotFoundException(HttpConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHttpErrorCode()
-
Methods inherited from class org.intermine.client.exceptions.ServiceException
getMessage
-
-
-
-
Constructor Detail
-
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String message)
- Parameters:
message
- message
-
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- messagecause
- cause
-
ResourceNotFoundException
public ResourceNotFoundException(java.lang.Throwable cause)
- Parameters:
cause
- cause
-
ResourceNotFoundException
public ResourceNotFoundException(HttpConnection connection)
- Parameters:
connection
- connection- See Also:
for detailed description
-
-
Method Detail
-
getHttpErrorCode
public int getHttpErrorCode()
- Overrides:
getHttpErrorCode
in classServiceException
- Returns:
- http error code
-
-