Serializable, LocalizedExceptionpublic class OrekitParseException extends ParseException implements LocalizedException
ParseException with localized message.| Constructor | Description |
|---|---|
OrekitParseException(Localizable specifier,
Object... parts) |
Create an exception with localized message.
|
| Modifier and Type | Method | Description |
|---|---|---|
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, waitgetErrorOffsetaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OrekitParseException(Localizable specifier, Object... parts)
specifier - format specifier (to be translated)parts - parts to insert in the format (no translation)public 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 © 2002-2018 CS Systèmes d'information. All rights reserved.