Serializable, org.hipparchus.exception.LocalizedExceptionpublic class RuggedException extends RuntimeException implements org.hipparchus.exception.LocalizedException
This class is heavily based on OrekitException,
which is distributed under the terms of the Apache License V2.
| Constructor | Description |
|---|---|
RuggedException(Throwable cause,
org.hipparchus.exception.Localizable specifier,
Object... parts) |
Simple constructor.
|
RuggedException(org.hipparchus.exception.Localizable specifier,
Object... parts) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getLocalizedMessage() |
|
String |
getMessage() |
|
String |
getMessage(Locale locale) |
|
Object[] |
getParts() |
Get the variable parts of the error message.
|
org.hipparchus.exception.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 RuggedException(org.hipparchus.exception.Localizable specifier,
Object... parts)
specifier - format specifier (to be translated)parts - parts to insert in the format (no translation)public RuggedException(Throwable cause, org.hipparchus.exception.Localizable specifier, Object... parts)
cause - underlying causespecifier - format specifier (to be translated)parts - parts to insert in the format (no translation)public String getMessage(Locale locale)
getMessage in interface org.hipparchus.exception.LocalizedExceptionpublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic org.hipparchus.exception.Localizable getSpecifier()
getSpecifier in interface org.hipparchus.exception.LocalizedExceptionpublic Object[] getParts()
getParts in interface org.hipparchus.exception.LocalizedExceptionCopyright © 2014-2019 CS Systèmes d'information. All rights reserved.