Package org.orekit.rugged.errors
Class RuggedInternalError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.orekit.rugged.errors.RuggedInternalError
-
- All Implemented Interfaces:
Serializable
,LocalizedException
public class RuggedInternalError extends RuntimeException implements LocalizedException
Extension ofRuntime
with localized message for internal errors only.- Since:
- 2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuggedInternalError(Throwable cause)
Create an exception with localized message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocalizedMessage()
String
getMessage()
String
getMessage(Locale locale)
Object[]
getParts()
Localizable
getSpecifier()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuggedInternalError
public RuggedInternalError(Throwable cause)
Create an exception with localized message.- Parameters:
cause
- underlying cause
-
-
Method Detail
-
getMessage
public String getMessage(Locale locale)
- Specified by:
getMessage
in interfaceLocalizedException
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
getSpecifier
public Localizable getSpecifier()
- Specified by:
getSpecifier
in interfaceLocalizedException
-
getParts
public Object[] getParts()
- Specified by:
getParts
in interfaceLocalizedException
-
-