public class IllegalStateException extends IllegalStateException
IllegalStateException
with support for
localized messages in Weld.Constructor and Description |
---|
IllegalStateException(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.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalStateException(String message)
message
- public IllegalStateException(String message, Throwable throwable)
message
- throwable
- public IllegalStateException(Throwable cause)
throwable
- The cause of the exceptionpublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public String getMessage()
getMessage
in class Throwable
Copyright © 2016. All rights reserved.