public class HookException
extends java.lang.Exception
| Constructor and Description |
|---|
HookException(java.lang.String message)
Constructs a HookException with the specified detail message.
|
HookException(java.lang.String message,
java.lang.String errorCode)
Constructs a HookException with the specified detail message and error code.
|
HookException(java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message, error code
and cause.
|
HookException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCode()
Returns the specific error code of this exception.
|
public HookException(java.lang.String message)
message - the detail message.public HookException(java.lang.String message,
java.lang.String errorCode)
message - the detail message.errorCode - the specific error code.public HookException(java.lang.String message,
java.lang.Throwable cause)
message - the detail message.cause - the cause.public HookException(java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable cause)
message - the detail message.errorCode - the specific error code.cause - the cause.