Module jakarta.cdi

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
    • 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()
      • IllegalProductException

        public IllegalProductException​(java.lang.String message,
                                       java.lang.Throwable cause)
      • IllegalProductException

        public IllegalProductException​(java.lang.String message)
      • IllegalProductException

        public IllegalProductException​(java.lang.Throwable cause)