Package org.jboss.weld.exceptions
Class CreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.inject.InjectionException
jakarta.enterprise.inject.CreationException
org.jboss.weld.exceptions.CreationException
- All Implemented Interfaces:
Serializable
public class CreationException
extends jakarta.enterprise.inject.CreationException
A version of that supports message localization.
- Author:
- David Allen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreationException(String message) Creates a new exception with the given localized message.CreationException(String message, Throwable throwable) Creates a new exception with the given localized message and the cause for this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreationException
Creates a new exception with the given localized message.- Parameters:
message-
-
CreationException
Creates a new exception with the given localized message and the cause for this exception.- Parameters:
message-throwable-
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable
-
getMessage
- Overrides:
getMessagein classThrowable
-