public class GenieClientException
extends java.io.IOException
Constructor and Description |
---|
GenieClientException(int errorCode,
java.lang.String msg)
Constructor.
|
GenieClientException(java.lang.String msg)
Constructor.
|
GenieClientException(java.lang.String messasge,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Return the HTTP status code for this exception.
|
public GenieClientException(int errorCode, java.lang.String msg)
errorCode
- the HTTP status code for this exceptionmsg
- human readable messagepublic GenieClientException(java.lang.String msg)
msg
- human readable messagepublic GenieClientException(java.lang.String messasge, java.lang.Throwable cause)
messasge
- human readable messagecause
- cause