Package org.orekit.rugged.errors
Class RuggedExceptionWrapper
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.orekit.rugged.errors.RuggedExceptionWrapper
-
- All Implemented Interfaces:
Serializable
@Deprecated public class RuggedExceptionWrapper extends RuntimeException
Deprecated.as of 2.1, this class is not used anymore, asRuggedException
is now an unchecked exceptionThis class allows to wrapRuggedException
instances inRuntimeException
.Wrapping
RuggedException
instances is useful when a low level method throws one such exception and this method must be called from another one which does not allow this exception. Typical examples are propagation methods that are used inside Hipparchus optimizers, integrators or solvers.This class is heavily based on
OrekitException
, which is distributed under the terms of the Apache License V2.- Author:
- Luc Maisonobe, Guylaine Prat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuggedExceptionWrapper(RuggedException wrappedException)
Deprecated.Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RuggedException
getException()
Deprecated.Get the wrapped exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuggedExceptionWrapper
public RuggedExceptionWrapper(RuggedException wrappedException)
Deprecated.Simple constructor.- Parameters:
wrappedException
- Orekit exception to wrap
-
-
Method Detail
-
getException
public RuggedException getException()
Deprecated.Get the wrapped exception.- Returns:
- wrapped exception
-
-