|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.webdocwf.util.loader.generator.GeneratorException
public class GeneratorException
GeneratorException class is used for handling the exceptions in Enhydra Octopus application.
Constructor Summary | |
---|---|
GeneratorException(java.lang.String msg)
This is the public constructor with one parameter |
|
GeneratorException(java.lang.String msg,
java.lang.Throwable cause)
This is the public constructor with two parameter |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Gets the exception associated with this exception. |
java.lang.String |
getMessage()
This method read message from exception object |
java.lang.String |
getStackTraceAsString()
Construct string with stack trace. |
void |
printStackTrace()
Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this LoaderException and its backtrace, and the causes and their stack traces to the e specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this LoaderException and its backtrace, and the causes and their stack traces to the specified print writer. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeneratorException(java.lang.String msg)
msg
- is constructor argumentpublic GeneratorException(java.lang.String msg, java.lang.Throwable cause)
msg
- is first constructor parametercause
- is secund constructor parameterMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- represents PrintWriter streampublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- represents PrintWriter streampublic java.lang.String getStackTraceAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |