Class InjectionException

All Implemented Interfaces:
Serializable

public class InjectionException extends BeanInstantiationException
An exception indicating that a failure occurred specifically with injection.
See Also:
  • Constructor Details

    • InjectionException

      public InjectionException()
      Constructs a new InjectionException instance. The message is left blank (null), and no cause is specified.
    • InjectionException

      public InjectionException(String msg)
      Constructs a new InjectionException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • InjectionException

      public InjectionException(Throwable cause)
      Constructs a new InjectionException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this InjectionException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
    • InjectionException

      public InjectionException(String msg, Throwable cause)
      Constructs a new InjectionException instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause