public final class RoutingRuntimeException extends RuntimeException
| Constructor and Description |
|---|
RoutingRuntimeException(int errorCode,
String errorMessage,
Object[] args)
Constructs the exception with an error message at runtime and an error code.
|
RoutingRuntimeException(int errorCode,
Throwable cause,
Object[] args)
Creates the exception with an error code and a Throwable root cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Gets the error code associated with this error.
|
String |
getErrorType()
Gets the error type of this error.
|
String |
getMessage()
Gets the message string of this throwable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RoutingRuntimeException(int errorCode,
String errorMessage,
Object[] args)
errorCode - The error code generated by the server.errorMessage - The error message generated by the server.public String getErrorType()
String for the error type.public int getErrorCode()
public String getMessage()
getMessage in class Throwable