|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
autohit.common.AutohitException
A base exception for Autohit. The specific error is given in the numeric field. All default exceptions are assumed to be ERRORS.
EPG - Initial - 14May03
EPG - Added chaining support - 11Jun03
EPG - Chenge to new error code scheme - 19Jul03| Field Summary | |
static int |
AUTOHIT_EXCEPTION_GENERIC
Numeric values for the exception. |
int |
numeric
Exception numeric |
| Constructor Summary | |
AutohitException()
Default Constructor. |
|
AutohitException(int n)
Message constructor |
|
AutohitException(int n,
java.lang.Throwable theCause)
Message constructor with cause |
|
AutohitException(java.lang.String message)
Message constructor |
|
AutohitException(java.lang.String message,
int n)
Message constructor |
|
AutohitException(java.lang.String message,
int n,
java.lang.Throwable theCause)
Message constructor with cause |
|
AutohitException(java.lang.String message,
java.lang.Throwable theCause)
Message constructor with Cause |
|
AutohitException(java.lang.Throwable theCause)
Default Constructor with Cause |
|
| Method Summary | |
static boolean |
isError(int code)
Helper for determining level - Error |
static boolean |
isFault(int code)
Helper for determining level - Fault |
static boolean |
isInformational(int code)
Helper for determining level - Informational |
static boolean |
isPanic(int code)
Helper for determining level - Panic |
static boolean |
isWarning(int code)
Helper for determining level - Warning |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int numeric
public static final int AUTOHIT_EXCEPTION_GENERIC
| Constructor Detail |
public AutohitException()
public AutohitException(java.lang.Throwable theCause)
theCause - for exception chainingpublic AutohitException(java.lang.String message)
message - text message for exception
public AutohitException(java.lang.String message,
java.lang.Throwable theCause)
message - text message for exceptiontheCause - for exception chainingpublic AutohitException(int n)
n - numeric error
public AutohitException(int n,
java.lang.Throwable theCause)
n - numeric errortheCause - for exception chaining
public AutohitException(java.lang.String message,
int n)
message - text message for exceptionn - numeric error
public AutohitException(java.lang.String message,
int n,
java.lang.Throwable theCause)
message - text message for exceptionn - numeric errortheCause - for exception chaining| Method Detail |
public static boolean isInformational(int code)
code - numeric code
public static boolean isWarning(int code)
code - numeric code
public static boolean isError(int code)
code - numeric code
public static boolean isFault(int code)
code - numeric code
public static boolean isPanic(int code)
code - numeric code
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||