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:
Serializable
Indicates that a checked exception was thrown during creation of a bean.
- Author:
- Pete Muir, Gavin King
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates the exception with no detail message or cause.CreationException
(String message) Creates the exception with given detail message.CreationException
(String message, Throwable cause) Creates the exception with given detail message and cause.CreationException
(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
-
CreationException
public CreationException()Creates the exception with no detail message or cause. -
CreationException
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
CreationException
Creates the exception with given cause.- Parameters:
cause
- the cause
-
CreationException
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-