|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.creamtec.ajaxswing.core.AjaxSwingException
public class AjaxSwingException
Used to report all errors in AjaxSwing
Field Summary | |
---|---|
static int |
EXIT_VM
|
Constructor Summary | |
---|---|
AjaxSwingException(java.lang.String msg)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
boolean traceStack)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
int code)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
int code,
java.lang.Throwable nested)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
int code,
java.lang.Throwable nested,
boolean traceStack)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
java.lang.Throwable nested)
Initializes exception |
|
AjaxSwingException(java.lang.String msg,
java.lang.Throwable nested,
boolean traceStack)
Initializes exception |
Method Summary | |
---|---|
int |
getCode()
Returns exception code |
boolean |
traceStack()
Returns true if the stack trace of this exception should be written to System.err and the log file |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int EXIT_VM
Constructor Detail |
---|
public AjaxSwingException(java.lang.String msg)
msg
- messagepublic AjaxSwingException(java.lang.String msg, boolean traceStack)
msg
- messagetraceStack
- if true, the exception stack will be dumped into System.errpublic AjaxSwingException(java.lang.String msg, java.lang.Throwable nested)
msg
- messagenested
- the original exception that triggered this errorpublic AjaxSwingException(java.lang.String msg, java.lang.Throwable nested, boolean traceStack)
msg
- messagenested
- the original exception that triggered this errortraceStack
- if true, the exception stack will be dumped into System.errpublic AjaxSwingException(java.lang.String msg, int code)
msg
- messagecode
- error codepublic AjaxSwingException(java.lang.String msg, int code, java.lang.Throwable nested)
msg
- messagecode
- error codenested
- the original exception that triggered this errorpublic AjaxSwingException(java.lang.String msg, int code, java.lang.Throwable nested, boolean traceStack)
msg
- messagecode
- error codetraceStack
- if true, the exception stack will be dumped into System.errMethod Detail |
---|
public int getCode()
public boolean traceStack()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |