public class OrekitInternalError extends IllegalStateException implements LocalizedException
Runtime
with localized message for internal errors only.Constructor and Description |
---|
OrekitInternalError(Throwable cause)
Create an exception with localized message.
|
Modifier and Type | Method and 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.
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OrekitInternalError(Throwable cause)
cause
- underlying causepublic String getMessage(Locale locale)
getMessage
in interface LocalizedException
locale
- Locale in which the message should be translatedpublic String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public Localizable getSpecifier()
getSpecifier
in interface LocalizedException
public Object[] getParts()
getParts
in interface LocalizedException
Copyright © 2002-2021 CS GROUP. All rights reserved.