public class TimeStampedCacheException extends OrekitException
GenericTimeStampedCache
.Constructor and Description |
---|
TimeStampedCacheException(Localizable specifier,
Object... parts)
Simple constructor.
|
TimeStampedCacheException(MathRuntimeException exception)
Simple constructor.
|
TimeStampedCacheException(OrekitException exception)
Simple constructor.
|
TimeStampedCacheException(Throwable cause,
Localizable specifier,
Object... parts)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
static TimeStampedCacheException |
unwrap(MathRuntimeException exception)
Recover a TimeStampedCacheException, possibly embedded in a
MathRuntimeException . |
static TimeStampedCacheException |
unwrap(OrekitException oe)
Recover a TimeStampedCacheException, possibly embedded in a
OrekitException . |
getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TimeStampedCacheException(Localizable specifier, Object... parts)
specifier
- format specifier (to be translated)parts
- parts to insert in the format (no translation)public TimeStampedCacheException(Throwable cause, Localizable specifier, Object... parts)
cause
- underlying causespecifier
- format specifier (to be translated)parts
- parts to insert in the format (no translation)public TimeStampedCacheException(OrekitException exception)
OrekitException
instanceexception
- underlying causepublic TimeStampedCacheException(MathRuntimeException exception)
exception
- underlying Hipparchus exceptionpublic static TimeStampedCacheException unwrap(OrekitException oe)
OrekitException
.
If the OrekitException
does not embed a TimeStampedCacheException, a
new one will be created.
oe
- OrekitException to analyzepublic static TimeStampedCacheException unwrap(MathRuntimeException exception)
MathRuntimeException
.
If the MathRuntimeException
does not embed a TimeStampedCacheException, a
new one will be created.
exception
- MathRuntimeException to analyzeCopyright © 2002-2020 CS Group. All rights reserved.