| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.gargoylesoftware.htmlunit.ObjectInstantiationException
ObjectInstantiationException | public class ObjectInstantiationException extends RuntimeException (Code) | | Thrown if an object could not be instantiated for some reason.
version: $Revision: 2132 $ author: Mike Bowler |
ObjectInstantiationException | public ObjectInstantiationException(String message, Throwable cause)(Code) | | Create an instance.
Parameters: message - A message explaining the failure Parameters: cause - The exception that was thrown |
getCauseException | public Throwable getCauseException()(Code) | | Return the exception that had been thrown during instantiation of the object.
The cause exception |
printStackTrace | public void printStackTrace(PrintWriter writer)(Code) | | Print the stack trace. If this exception contains another exception then
the stack traces for both will be printed.
Parameters: writer - Where the stack trace will be written |
printStackTrace | public void printStackTrace(PrintStream stream)(Code) | | Print the stack trace. If this exception contains another exception then
the stack traces for both will be printed.
Parameters: stream - Where the stack trace will be written |
|
|
|