Package org.orekit.errors
Interface LocalizedException
-
- All Known Implementing Classes:
FrameAncestorException
,OrekitException
,OrekitIllegalArgumentException
,OrekitIllegalStateException
,OrekitInternalError
,OrekitIOException
,OrekitParseException
,TimeStampedCacheException
,UnsupportedParameterException
public interface LocalizedException
This interface specified methods implemented by localized exception classes.- Since:
- 7.1
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getMessage
String getMessage(Locale locale)
Gets the message in a specified locale.- Parameters:
locale
- Locale in which the message should be translated- Returns:
- localized message
-
getSpecifier
Localizable getSpecifier()
Get the localizable specifier of the error message.- Returns:
- localizable specifier of the error message
-
getParts
Object[] getParts()
Get the variable parts of the error message.- Returns:
- a copy of the variable parts of the error message
-
-