|
|||||
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(java.lang.String message,
java.lang.Throwable cause)
Create an instance. |
Method Summary | |
---|---|
java.lang.Throwable |
getCauseException()
Return the exception that had been thrown during instantiation of the object. |
void |
printStackTrace(java.io.PrintStream stream)
Print the stack trace. |
void |
printStackTrace(java.io.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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectInstantiationException(java.lang.String message, java.lang.Throwable cause)
message
- A message explaining the failurecause
- The exception that was thrownMethod Detail |
---|
public java.lang.Throwable getCauseException()
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
stream
- Where the stack trace will be writtenpublic void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
writer
- Where the stack trace will be written
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |