Top Description Fields Constructors
jakarta.enterprise.inject

public Class CreationException

extends InjectionException
Class Inheritance

Indicates that a checked exception was thrown during creation of a bean.

Authors
Pete Muir, Gavin King

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CreationException()

Creates the exception with no detail message or cause.

public
CreationException(String
the detail message
message
)

Creates the exception with given detail message.

public
CreationException(Throwable
the cause
cause
)

Creates the exception with given cause.

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

Creates the exception with given detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.inject.InjectionException.serialVersionUID.

Constructor Detail

CreationExceptionback to summary
public CreationException()

Creates the exception with no detail message or cause.

CreationExceptionback to summary
public CreationException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

CreationExceptionback to summary
public CreationException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause

CreationExceptionback to summary
public CreationException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause