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:
java.io.Serializable
- Direct Known Subclasses:
CreationException
,IllegalProductException
,ResolutionException
public class InjectionException extends java.lang.RuntimeException
Indicates a problem relating to dependency injection.- Author:
- Pete Muir
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InjectionException()
Creates the exception with no detail message or cause.InjectionException(java.lang.String message)
Creates the exception with given detail message.InjectionException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.InjectionException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
InjectionException
public InjectionException()
Creates the exception with no detail message or cause.
-
InjectionException
public InjectionException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
InjectionException
public InjectionException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
InjectionException
public InjectionException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
-