Package org.hipparchus.exception
Interface LocalizedException
-
- All Known Implementing Classes:
MathIllegalArgumentException
,MathIllegalStateException
,MathRuntimeException
,NullArgumentException
public interface LocalizedException
This interface specified methods implemented by localized exception classes.This interface has been copied from the interface with the same name from Orekit.
-
-
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
-
-