public class HobsonRuntimeException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
CODE_INTERNAL_ERROR |
Constructor and Description |
---|
HobsonRuntimeException(int code,
java.lang.String message)
Constructor.
|
HobsonRuntimeException(int code,
java.lang.String message,
java.lang.Throwable cause)
Constructor.
|
HobsonRuntimeException(java.lang.String message) |
HobsonRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the machine-readable code associated with the exception.
|
public static final int CODE_INTERNAL_ERROR
public HobsonRuntimeException(java.lang.String message)
public HobsonRuntimeException(int code, java.lang.String message)
code
- a machine-readable code for the exceptionmessage
- the exception messagepublic HobsonRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- the exception messagecause
- the exception causepublic HobsonRuntimeException(int code, java.lang.String message, java.lang.Throwable cause)
code
- a machine-readable code for the exceptionmessage
- the exception messagecause
- the exception causeCopyright © 2015 Whizzo Software LLC. All rights reserved.