Top Description Fields Constructors
jakarta.enterprise.inject.spi

public Class DefinitionException

extends RuntimeException
Class Inheritance

Thrown when a definition error occurs.

Definition errors are developer errors. They may be detected by tooling at development time, and are also detected by the container at initialization time. If a definition error exists in a deployment, initialization will be aborted by the container.

The container is permitted to define a non-portable mode, for use at development time, in which some definition errors do not cause application initialization to abort.

An implementation is permitted to throw a subclass of DefinitionException for any definition error which exists.

Author
Pete Muir
Since
1.1

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DefinitionException(String
the detail message
message
,
Throwable
the cause
cause
)

Creates the exception with given detail message and cause.

public
DefinitionException(String
the detail message
message
)

Creates the exception with given detail message.

public
DefinitionException(Throwable
the cause
cause
)

Creates the exception with given cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

DefinitionExceptionback to summary
public DefinitionException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause

DefinitionExceptionback to summary
public DefinitionException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

DefinitionExceptionback to summary
public DefinitionException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause