public final class SLAException extends Exception
| Constructor and Description |
|---|
SLAException(int pErrorCode,
String errorMessage)
constructor.
|
SLAException(int pErrorCode,
String errorMessage,
String contentType)
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
get content type.
|
int |
getErrorCode()
get error code.
|
String |
toString()
Returns a string representation of the object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic SLAException(int pErrorCode,
String errorMessage)
pErrorCode - errorCodeerrorMessage - error messagepublic int getErrorCode()
public String getContentType()