|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javatools.util
Class CommonRuntimeException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javatools.util.CommonRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- public class CommonRuntimeException
- extends java.lang.RuntimeException
A base class for other types of Runtime exceptions.
- Version:
- 0.7
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
(package private) java.lang.Throwable |
nextException
The exception to use. |
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| 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 |
| Field Detail |
nextException
java.lang.Throwable nextException
- The exception to use.
| Constructor Detail |
CommonRuntimeException
public CommonRuntimeException(java.lang.String mesg)
- Creates a new CommonRuntimeException.
CommonRuntimeException
public CommonRuntimeException(java.lang.String mesg, java.lang.Throwable exception)
- Creates a new CommonRuntimeException.
CommonRuntimeException
public CommonRuntimeException(java.lang.Throwable exception)
- Creates a new CommonRuntimeException.
| Method Detail |
getNextException
public java.lang.Throwable getNextException()
- Returns the next exception.
toString
public java.lang.String toString()
- Returns a string representing this exception.
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
- Returns the stack trace.
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Prints the stack trace to a print writer.
printStackTrace
public void printStackTrace()
- Prints stack trace to standard output.
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Prints stack trace to a print stream.
|
|||||||||
| Home >> All >> javatools >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC