Package org.jboss.weld.exceptions
Class UnsupportedOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.jboss.weld.exceptions.UnsupportedOperationException
- All Implemented Interfaces:
Serializable
An
UnsupportedOperationException with support for
localized messages in Weld.- Author:
- David Allen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with no message.UnsupportedOperationException(String message) Creates a new exception with the given localized message.UnsupportedOperationException(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
-
UnsupportedOperationException
public UnsupportedOperationException()Creates a new exception with no message. Here the stacktrace serves as the main information since it has the method which was invoked causing this exception. -
UnsupportedOperationException
Creates a new exception with the given localized message.- Parameters:
message-
-
UnsupportedOperationException
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
-