Package org.jboss.weld.exceptions
Class IllegalStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.jboss.weld.exceptions.IllegalStateException
- All Implemented Interfaces:
Serializable
An
IllegalStateException with support for
localized messages in Weld.- Author:
- David Allen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalStateException(String message) Creates a new exception with the given localized message.IllegalStateException(String message, Throwable throwable) Creates a new exception with the given localized message and the cause for this exception.IllegalStateException(Throwable cause) Creates a new exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalStateException
Creates a new exception with the given localized message.- Parameters:
message-
-
IllegalStateException
Creates a new exception with the given localized message and the cause for this exception.- Parameters:
message-throwable-
-
IllegalStateException
Creates a new exception with the given cause.- Parameters:
throwable- The cause of the exception
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable
-
getMessage
- Overrides:
getMessagein classThrowable
-