public class ObjectInstantiationException extends RuntimeException
Constructor and Description |
---|
ObjectInstantiationException(String message,
Throwable cause)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCauseException()
Returns the exception that had been thrown during instantiation of the object.
|
void |
printStackTrace(PrintStream stream)
Print the stack trace.
|
void |
printStackTrace(PrintWriter writer)
Print the stack trace.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public Throwable getCauseException()
public void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- Where the stack trace will be writtenpublic void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- Where the stack trace will be writtenCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.