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