Package org.htmlunit

Class ObjectInstantiationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ObjectInstantiationException
    extends java.lang.RuntimeException
    Thrown if an object could not be instantiated for some reason.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectInstantiationException​(java.lang.String message, java.lang.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 Detail

      • ObjectInstantiationException

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