public class MathIllegalStateException extends java.lang.IllegalStateException implements MathThrowable
| Constructor and Description |
|---|
MathIllegalStateException(Localizable specific,
Localizable general,
java.lang.Object... args)
Simple constructor.
|
MathIllegalStateException(Localizable general,
java.lang.Object... args) |
MathIllegalStateException(java.lang.Throwable cause,
Localizable specific,
Localizable general,
java.lang.Object... args)
Simple constructor.
|
MathIllegalStateException(java.lang.Throwable cause,
Localizable general,
java.lang.Object... args)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArguments()
Gets the arguments used to build the message of this throwable.
|
Localizable |
getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
java.lang.String |
getLocalizedMessage()
Gets the message in the system default locale.
|
java.lang.String |
getMessage()
Gets the message in a conventional US locale.
|
java.lang.String |
getMessage(java.util.Locale locale)
Get the message in a specified locale.
|
Localizable |
getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
public MathIllegalStateException(Localizable specific, Localizable general, java.lang.Object... args)
specific - Message pattern providing the specific context of
the error.general - Message pattern explaining the cause of the error.args - Arguments.public MathIllegalStateException(java.lang.Throwable cause,
Localizable specific,
Localizable general,
java.lang.Object... args)
cause - root causespecific - Message pattern providing the specific context of
the error.general - Message pattern explaining the cause of the error.args - Arguments.public MathIllegalStateException(Localizable general, java.lang.Object... args)
general - Message pattern explaining the cause of the error.args - Arguments.public MathIllegalStateException(java.lang.Throwable cause,
Localizable general,
java.lang.Object... args)
cause - root causegeneral - Message pattern explaining the cause of the error.args - Arguments.public Localizable getSpecificPattern()
getSpecificPattern in interface MathThrowablepublic Localizable getGeneralPattern()
getGeneralPattern in interface MathThrowablepublic java.lang.Object[] getArguments()
getArguments in interface MathThrowablepublic java.lang.String getMessage(java.util.Locale locale)
getMessage in interface MathThrowablelocale - Locale in which the message should be translated.public java.lang.String getMessage()
getMessage in interface MathThrowablegetMessage in class java.lang.Throwablepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in interface MathThrowablegetLocalizedMessage in class java.lang.ThrowableCopyright © 2010 - 2023 Adobe. All Rights Reserved