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 ofRuntimewith 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 StringgetLocalizedMessage()StringgetMessage()StringgetMessage(Locale locale)Object[]getParts()LocalizablegetSpecifier()-
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:
getMessagein interfaceLocalizedException
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
getSpecifier
public Localizable getSpecifier()
- Specified by:
getSpecifierin interfaceLocalizedException
-
getParts
public Object[] getParts()
- Specified by:
getPartsin interfaceLocalizedException
-
-