Package org.htmlunit

# Class ObjectInstantiationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.htmlunit.ObjectInstantiationException

All Implemented Interfaces:
  `Serializable`

public class ObjectInstantiationException extends RuntimeException
Thrown if an object could not be instantiated for some reason.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ObjectInstantiationException(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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ObjectInstantiationException

    public ObjectInstantiationException(String message, Throwable cause)
    Creates a new instance.
    Parameters:
      `message` - a message explaining the failure
      `cause` - the exception that was thrown