Package jakarta.enterprise.inject
Class InjectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.inject.InjectionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CreationException
,IllegalProductException
,ResolutionException
Indicates a problem relating to dependency injection.
- Author:
- Pete Muir
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates the exception with no detail message or cause.InjectionException
(String message) Creates the exception with given detail message.InjectionException
(String message, Throwable cause) Creates the exception with given detail message and cause.InjectionException
(Throwable cause) Creates the exception with given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InjectionException
public InjectionException()Creates the exception with no detail message or cause. -
InjectionException
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
InjectionException
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
InjectionException
Creates the exception with given cause.- Parameters:
cause
- the cause
-