Class IllegalProductException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

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

      • IllegalProductException

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

        public IllegalProductException​(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
      • IllegalProductException

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

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