Top Description Fields Constructors
jakarta.enterprise.inject

public Class IllegalProductException

extends InjectionException
Class Inheritance
Imports
jakarta.enterprise.context.Dependent

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.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalProductException()

Creates the exception with no detail message or cause.

public
IllegalProductException(String
the detail message
message
,
Throwable
the cause
cause
)

Creates the exception with given detail message and cause.

public
IllegalProductException(String
the detail message
message
)

Creates the exception with given detail message.

public
IllegalProductException(Throwable
the cause
cause
)

Creates the exception with given cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.inject.InjectionException.serialVersionUID.

Constructor Detail

IllegalProductExceptionback to summary
public IllegalProductException()

Creates the exception with no detail message or cause.

IllegalProductExceptionback to summary
public IllegalProductException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause

IllegalProductExceptionback to summary
public IllegalProductException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

IllegalProductExceptionback to summary
public IllegalProductException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause