Top Description Fields Constructors
jakarta.enterprise.inject

public Class InjectionException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
jakarta.enterprise.inject.ResolutionException, jakarta.enterprise.inject.CreationException, jakarta.enterprise.inject.IllegalProductException

Indicates a problem relating to dependency injection.
Author
Pete Muir

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InjectionException()

Creates the exception with no detail message or cause.

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

Creates the exception with given detail message and cause.

public
InjectionException(String
the detail message
message
)

Creates the exception with given detail message.

public
InjectionException(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

InjectionExceptionback to summary
public InjectionException()

Creates the exception with no detail message or cause.

InjectionExceptionback to summary
public InjectionException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause

InjectionExceptionback to summary
public InjectionException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

InjectionExceptionback to summary
public InjectionException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause