Package org.intermine.client.exceptions
Class InternalErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.intermine.client.exceptions.ServiceException
-
- org.intermine.client.exceptions.InternalErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class InternalErrorException extends ServiceException
The InternalErrorException is thrown by service when an error occurred at the server.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.intermine.client.exceptions.ServiceException
ERROR_CODE
-
-
Constructor Summary
Constructors Constructor Description InternalErrorException(java.lang.String message)
InternalErrorException(java.lang.String message, java.lang.Throwable cause)
InternalErrorException(java.lang.Throwable cause)
InternalErrorException(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
-
InternalErrorException
public InternalErrorException(java.lang.String message)
- Parameters:
message
- message
-
InternalErrorException
public InternalErrorException(java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- messagecause
- cause
-
InternalErrorException
public InternalErrorException(java.lang.Throwable cause)
- Parameters:
cause
- cause
-
InternalErrorException
public InternalErrorException(HttpConnection connection)
- Parameters:
connection
- connection- See Also:
for detailed description
-
-
Method Detail
-
getHttpErrorCode
public int getHttpErrorCode()
- Overrides:
getHttpErrorCode
in classServiceException
- Returns:
- http error code
-
-