|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javatools.util.CommonException
A base class for other types of exceptions.
| Constructor Summary | |
CommonException(java.lang.String mesg)
Creates a new CommonException |
|
CommonException(java.lang.String mesg,
java.lang.Throwable exception)
Creates a new CommonException |
|
CommonException(java.lang.Throwable exception)
Creates a new CommonException. |
|
| Method Summary | |
java.lang.Throwable |
getNextException()
Returns the next exception. |
java.lang.StackTraceElement[] |
getStackTrace()
Returns the stack trace after this exception. |
void |
printStackTrace()
Prints the stack trace to standard output. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace to a print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace to a print writer. |
java.lang.String |
toString()
Returns the exception converted into a string. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CommonException(java.lang.String mesg)
mesg - The exception message.
public CommonException(java.lang.String mesg,
java.lang.Throwable exception)
mesg - The message.exception - The base exception.public CommonException(java.lang.Throwable exception)
exception - The base exception.| Method Detail |
public java.lang.Throwable getNextException()
public java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.StackTraceElement[] getStackTrace()
getStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - The print writer to use.public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - The print stream to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||