public class EsuException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
EsuException(java.lang.String message)
Creates a new ESU Exception with the given message.
|
EsuException(java.lang.String message,
int http_code)
Creates a new ESU exception with the given message and HTTP error code.
|
EsuException(java.lang.String message,
int http_code,
int atmos_code)
Creates a new ESU exception with the given message and HTTP error code.
|
EsuException(java.lang.String message,
java.lang.Throwable cause)
Creates a new ESU exception with the given message and cause.
|
EsuException(java.lang.String message,
java.lang.Throwable cause,
int http_code)
Creates a new ESU exception with the given message, code, and cause
|
EsuException(java.lang.String message,
java.lang.Throwable cause,
int http_code,
int atmos_code)
Creates a new ESU exception with the given message, code, and cause
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAtmosCode()
Returns the Atmos internal error code associated with the exception.
|
int |
getHttpCode()
Returns the HTTP error code associated with the exception.
|
java.lang.String |
toString() |
public EsuException(java.lang.String message)
message - the error messagepublic EsuException(java.lang.String message,
int http_code)
message - the error messagehttp_code - code the error codepublic EsuException(java.lang.String message,
int http_code,
int atmos_code)
message - the error messagehttp_code - code the error codeatmos_code - detailed code the error codepublic EsuException(java.lang.String message,
java.lang.Throwable cause)
message - the error messagecause - the exception that caused the failurepublic EsuException(java.lang.String message,
java.lang.Throwable cause,
int http_code)
message - the error messagecause - the exception that caused the failurehttp_code - code the error codepublic EsuException(java.lang.String message,
java.lang.Throwable cause,
int http_code,
int atmos_code)
message - the error messagecause - the exception that caused the failurehttp_code - code the error codeatmos_code - detailed code the error codepublic int getHttpCode()
public int getAtmosCode()
public java.lang.String toString()
toString in class java.lang.Throwable