public class GenieException
extends java.lang.Exception
Constructor and Description |
---|
GenieException(int errorCode,
java.lang.String msg)
Constructor.
|
GenieException(int errorCode,
java.lang.String msg,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Return the HTTP status code for this exception.
|
public GenieException(int errorCode, java.lang.String msg, java.lang.Throwable cause)
errorCode
- the HTTP status code for this exceptionmsg
- human readable messagecause
- reason for this exceptionpublic GenieException(int errorCode, java.lang.String msg)
errorCode
- the HTTP status code for this exceptionmsg
- human readable message