Class InstanceCreationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InstanceCreationException
    extends java.lang.RuntimeException
    Instance creation exception class.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InstanceCreationException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new instance creation exception with the specified detail message.
    • 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

      • InstanceCreationException

        public InstanceCreationException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Constructs a new instance creation exception with the specified detail message. The cause is the call of newInstance method throws an Exception.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        cause - the given bean is not valid and caused an exception while copying the properties.