Class InjectionException

All Implemented Interfaces:
Serializable

public class InjectionException extends RuntimeException
The exception indicates a error that occurred while performing dependency injection. Use Throwable.getCause() to obtain underlying exception, if any.
Since:
1.7
See Also:
  • Constructor Details

    • InjectionException

      public InjectionException()
      Constructs a new injection exception.
    • InjectionException

      public InjectionException(Throwable e)
      Constructs a new injection exception with the specified cause.
      Parameters:
      e - original exception
    • InjectionException

      public InjectionException(String msg)
      Constructs a new injection exception with the specified message.
      Parameters:
      msg - the error message
    • InjectionException

      public InjectionException(String msg, Throwable e)
      Constructs a new injection exception with the specified cause and message.
      Parameters:
      msg - the error message
      e - original exception