Class IllegalProductException

All Implemented Interfaces:
Serializable

public class IllegalProductException extends InjectionException

Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the producer method or field was not Dependent.

See Also:
  • Constructor Details

    • IllegalProductException

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

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

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

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