|
||||||||||
| 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
|
+--java.lang.RuntimeException
|
+--javatools.util.CommonRuntimeException
A base class for other types of Runtime exceptions.
| Constructor Summary | |
CommonRuntimeException(java.lang.String mesg)
Creates a new CommonRuntimeException. |
|
CommonRuntimeException(java.lang.String mesg,
java.lang.Throwable exception)
Creates a new CommonRuntimeException. |
|
CommonRuntimeException(java.lang.Throwable exception)
Creates a new CommonRuntimeException. |
|
| Method Summary | |
java.lang.Throwable |
getNextException()
Returns the next exception. |
java.lang.StackTraceElement[] |
getStackTrace()
Returns the stack trace. |
void |
printStackTrace()
Prints stack trace to standard output. |
void |
printStackTrace(java.io.PrintStream s)
Prints 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 a string representing this exception. |
| 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 CommonRuntimeException(java.lang.String mesg)
mesg - The message.
public CommonRuntimeException(java.lang.String mesg,
java.lang.Throwable exception)
mesg - The message.exception - The base exception.public CommonRuntimeException(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 | |||||||||