Package org.htmlunit
Class ObjectInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.htmlunit.ObjectInstantiationException
- All Implemented Interfaces:
Serializable
Thrown if an object could not be instantiated for some reason.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectInstantiationException
(String message, Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ObjectInstantiationException
Creates a new instance.- Parameters:
message
- a message explaining the failurecause
- the exception that was thrown
-