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

java.lang.Objectjava.lang.Throwable
java.lang.Exception
javatools.util.CommonException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ReflectException, ResetException
- public class CommonException
- extends java.lang.Exception
A base class for other types of 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 be used. |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| 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 |
| Field Detail |
nextException
java.lang.Throwable nextException
- The exception to be used.
| Constructor Detail |
CommonException
public CommonException(java.lang.String mesg)
- Creates a new CommonException
CommonException
public CommonException(java.lang.String mesg, java.lang.Throwable exception)
- Creates a new CommonException
CommonException
public CommonException(java.lang.Throwable exception)
- Creates a new CommonException.
| Method Detail |
getNextException
public java.lang.Throwable getNextException()
- Returns the next exception.
toString
public java.lang.String toString()
- Returns the exception converted into a string.
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
- Returns the stack trace after this exception.
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Prints the stack trace to a print writer.
printStackTrace
public void printStackTrace()
- Prints the stack trace to standard output.
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Prints the 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