Package jakarta.enterprise.inject
Class IllegalProductException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.inject.InjectionException
-
- jakarta.enterprise.inject.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalProductException()
IllegalProductException(String message)
IllegalProductException(String message, Throwable cause)
IllegalProductException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-