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