|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gargoylesoftware.htmlunit.ObjectInstantiationException
public class ObjectInstantiationException
Thrown if an object could not be instantiated for some reason.
| Constructor Summary | |
|---|---|
ObjectInstantiationException(String message,
Throwable cause)
Creates a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectInstantiationException(String message,
Throwable cause)
message - a message explaining the failurecause - the exception that was thrown| Method Detail |
|---|
public Throwable getCauseException()
public void printStackTrace(PrintWriter writer)
printStackTrace in class Throwablewriter - Where the stack trace will be writtenpublic void printStackTrace(PrintStream stream)
printStackTrace in class Throwablestream - Where the stack trace will be written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||