Package org.intermine.client.exceptions
Class BadRequestException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- org.intermine.client.exceptions.ServiceException
- 
- org.intermine.client.exceptions.BadRequestException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class BadRequestException extends ServiceException The BadRequestException is thrown by service when there is a problem with the request. Connected service exists but the service has problems with the parameters of request and client should change the request.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.intermine.client.exceptions.ServiceExceptionERROR_CODE
 
- 
 - 
Constructor SummaryConstructors Constructor Description BadRequestException(java.lang.String message)BadRequestException(java.lang.String message, java.lang.Throwable cause)BadRequestException(java.lang.Throwable cause)BadRequestException(HttpConnection connection)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHttpErrorCode()- 
Methods inherited from class org.intermine.client.exceptions.ServiceExceptiongetMessage
 
- 
 
- 
- 
- 
Constructor Detail- 
BadRequestExceptionpublic BadRequestException(java.lang.String message) - Parameters:
- message- message
 
 - 
BadRequestExceptionpublic BadRequestException(java.lang.String message, java.lang.Throwable cause)- Parameters:
- message- message
- cause- cause
 
 - 
BadRequestExceptionpublic BadRequestException(java.lang.Throwable cause) - Parameters:
- cause- cause
 
 - 
BadRequestExceptionpublic BadRequestException(HttpConnection connection) - Parameters:
- connection- connection
- See Also:
- for detailed description
 
 
- 
 - 
Method Detail- 
getHttpErrorCodepublic int getHttpErrorCode() - Overrides:
- getHttpErrorCodein class- ServiceException
- Returns:
- http error code
 
 
- 
 
-