|
||||||||||
| 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.reflect.InvocationTargetException
creamtec.webcream.core.WebCreamException
public class WebCreamException
Used to report all errors in WebCream
| Field Summary | |
|---|---|
static int |
EXIT_VM
|
| Constructor Summary | |
|---|---|
WebCreamException(java.lang.String msg)
Initializes exception |
|
WebCreamException(java.lang.String msg,
boolean traceStack)
Initializes exception |
|
WebCreamException(java.lang.String msg,
int code)
Initializes exception |
|
WebCreamException(java.lang.String msg,
int code,
java.lang.Throwable nested)
Initializes exception |
|
WebCreamException(java.lang.String msg,
int code,
java.lang.Throwable nested,
boolean traceStack)
Initializes exception |
|
WebCreamException(java.lang.String msg,
java.lang.Throwable nested)
Initializes exception |
|
WebCreamException(java.lang.String msg,
java.lang.Throwable nested,
boolean traceStack)
Initializes exception |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns exception code |
java.lang.Throwable |
getNestedException()
Returns the exception that triggered this error |
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.reflect.InvocationTargetException |
|---|
getCause, getTargetException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 WebCreamException(java.lang.String msg)
msg - message
public WebCreamException(java.lang.String msg,
boolean traceStack)
msg - messagetraceStack - if true, the exception stack will be dumped into System.err
public WebCreamException(java.lang.String msg,
java.lang.Throwable nested)
msg - messagenested - the original exception that triggered this error
public WebCreamException(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.err
public WebCreamException(java.lang.String msg,
int code)
msg - messagecode - error code
public WebCreamException(java.lang.String msg,
int code,
java.lang.Throwable nested)
msg - messagecode - error codenested - the original exception that triggered this error
public WebCreamException(java.lang.String msg,
int code,
java.lang.Throwable nested,
boolean traceStack)
msg - messagecode - error codenested - the original exception that triggered this errortraceStack - if true, the exception stack will be dumped into System.err| Method Detail |
|---|
public int getCode()
public java.lang.Throwable getNestedException()
getNestedException in interface ExceptionInfopublic boolean traceStack()
traceStack in interface ExceptionInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||