Serializable, LocalizedExceptionEuclidean1D.NoSubSpaceException, MathArithmeticException, MathIllegalArgumentException, MathIllegalStateException, MathUnsupportedOperationException, Sphere1D.NoSubSpaceExceptionpublic class MathRuntimeException extends RuntimeException implements LocalizedException
| Constructor | Description |
|---|---|
MathRuntimeException(Throwable cause,
Localizable specifier,
Object... parts) |
Simple constructor.
|
MathRuntimeException(Localizable specifier,
Object... parts) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MathRuntimeException |
createInternalError() |
Create an exception for an internal error.
|
static MathRuntimeException |
createInternalError(Throwable cause) |
Create an exception for an internal error.
|
String |
getLocalizedMessage() |
|
String |
getMessage() |
|
String |
getMessage(Locale locale) |
Gets the message in a specified locale.
|
Object[] |
getParts() |
Get the variable parts of the error message.
|
Localizable |
getSpecifier() |
Get the localizable specifier of the error message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MathRuntimeException(Localizable specifier, Object... parts)
specifier - format specifier (to be translated).parts - parts to insert in the format (no translation).public MathRuntimeException(Throwable cause, Localizable specifier, Object... parts)
cause - root cause.specifier - format specifier (to be translated).parts - parts to insert in the format (no translation).public static MathRuntimeException createInternalError()
public static MathRuntimeException createInternalError(Throwable cause)
cause - root causepublic String getMessage(Locale locale)
getMessage in interface LocalizedExceptionlocale - Locale in which the message should be translatedpublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic Localizable getSpecifier()
getSpecifier in interface LocalizedExceptionpublic Object[] getParts()
getParts in interface LocalizedExceptionCopyright © 2016–2018 Hipparchus.org. All rights reserved.