public class GeneratorException extends Exception
Constructor and Description |
---|
GeneratorException()
Default constructor.
|
GeneratorException(String msg) |
GeneratorException(String msg,
Throwable cause) |
GeneratorException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Get the causing exception, if any.
|
void |
printStackTrace()
Print the stack trace.
|
void |
printStackTrace(PrintStream ps)
Print the stack trace.
|
void |
printStackTrace(PrintWriter pw)
Print the stack trace.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public GeneratorException()
public GeneratorException(String msg)
msg
- an error messagepublic GeneratorException(String msg, Throwable cause)
msg
- an error messagecause
- a wrapped exceptionpublic GeneratorException(Throwable cause)
cause
- a wrapped exceptionpublic Throwable getCause()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
ps
- a PrintStream to print the stack trace to.public void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
pw
- a PrintWriter to print the stack trace to.