Package jakarta.enterprise.inject
Class CreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.inject.InjectionException
-
- jakarta.enterprise.inject.CreationException
-
- All Implemented Interfaces:
java.io.Serializable
public class CreationException extends InjectionException
Indicates that a checked exception was thrown during creation of a bean.
- Author:
- Pete Muir, Gavin King
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreationException()
Creates the exception with no detail message or cause.CreationException(java.lang.String message)
Creates the exception with given detail message.CreationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.CreationException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
CreationException
public CreationException()
Creates the exception with no detail message or cause.
-
CreationException
public CreationException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
CreationException
public CreationException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
CreationException
public CreationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-