public final class HandlerException extends GenericCodedException
| Constructor and Description |
|---|
HandlerException(EnumErrorCatalog err,
java.lang.Exception cause,
java.lang.String... args)
Creates a HandlerException with the given error, optional details and cause.
|
HandlerException(EnumErrorCatalog err,
java.lang.String... args)
Creates a HandlerException with the given error and optional details.
|
HandlerException(java.lang.Integer httpErr,
EnumErrorCatalog err,
java.lang.Exception cause,
java.lang.String... args)
Creates a HandlerException with the given error, optional details, HTTP error and cause.
|
HandlerException(java.lang.Integer httpErr,
EnumErrorCatalog err,
java.lang.String... args)
Creates a HandlerException with a HTTP error code.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getHttpError()
Returns this exception http error code.
|
getCodepublic HandlerException(java.lang.Integer httpErr,
EnumErrorCatalog err,
java.lang.String... args)
httpErr - HTTP error code.err - Error code.args - Optional arguments (detail info) for the error code.public HandlerException(EnumErrorCatalog err, java.lang.String... args)
err - Error code.args - Optional arguments (detail info) for the error code.public HandlerException(EnumErrorCatalog err, java.lang.Exception cause, java.lang.String... args)
err - Error code.cause - Exception cause.args - Optional arguments (detail info) for the error code.public HandlerException(java.lang.Integer httpErr,
EnumErrorCatalog err,
java.lang.Exception cause,
java.lang.String... args)
httpErr - HTTP error code.err - Error code.cause - Exception cause.args - Optional arguments (detail info) for the error code.