Class InjectionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CreationException, IllegalProductException, ResolutionException

public class InjectionException extends RuntimeException
Indicates a problem relating to dependency injection.
Author:
Pete Muir
See Also:
  • Constructor Details

    • InjectionException

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

      public InjectionException(String message, Throwable cause)
      Creates the exception with given detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • InjectionException

      public InjectionException(String message)
      Creates the exception with given detail message.
      Parameters:
      message - the detail message
    • InjectionException

      public InjectionException(Throwable cause)
      Creates the exception with given cause.
      Parameters:
      cause - the cause