Class PostConstructException

  • All Implemented Interfaces:
    java.io.Serializable

    @ProviderType
    public class PostConstructException
    extends ModelClassException
    Exception which is triggered, whenever the post-construct method has thrown an exception. The cause (accessible via Throwable.getCause()) is always the original exception being thrown from the post-construct method.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PostConstructException​(java.lang.String message, java.lang.Throwable cause)  
    • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PostConstructException

        public PostConstructException​(java.lang.String message,
                                      java.lang.Throwable cause)
        Parameters:
        message - some message
        cause - the original exception being thrown in the post-construct