Class CreationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CreationException
    extends InjectionException

    Indicates that a checked exception was thrown during creation of a bean.

    Author:
    Pete Muir, Gavin King
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CreationException()
      Creates the exception with no detail message or cause.
      CreationException​(java.lang.String message)
      Creates the exception with given detail message.
      CreationException​(java.lang.String message, java.lang.Throwable cause)
      Creates the exception with given detail message and cause.
      CreationException​(java.lang.Throwable cause)
      Creates the exception with given 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

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

      • CreationException

        public CreationException()
        Creates the exception with no detail message or cause.
      • CreationException

        public CreationException​(java.lang.String message)
        Creates the exception with given detail message.
        Parameters:
        message - the detail message
      • CreationException

        public CreationException​(java.lang.Throwable cause)
        Creates the exception with given cause.
        Parameters:
        cause - the cause
      • CreationException

        public CreationException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Creates the exception with given detail message and cause.
        Parameters:
        message - the detail message
        cause - the cause