Package org.orekit.errors
Class OrekitExceptionWrapper
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.orekit.errors.OrekitExceptionWrapper
-
- All Implemented Interfaces:
Serializable
@Deprecated public class OrekitExceptionWrapper extends RuntimeException
Deprecated.as of 9.3, this class is not used anymore, asOrekitException
is now an unchecked exceptionThis class allows to wrapOrekitException
instances inRuntimeException
.Wrapping
OrekitException
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 Apache Commons optimizers, integrators or solvers.- Author:
- Luc Maisonobe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrekitExceptionWrapper(OrekitException wrappedException)
Deprecated.Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OrekitException
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
-
OrekitExceptionWrapper
public OrekitExceptionWrapper(OrekitException wrappedException)
Deprecated.Simple constructor.- Parameters:
wrappedException
- Orekit exception to wrap
-
-
Method Detail
-
getException
public OrekitException getException()
Deprecated.Get the wrapped exception.- Returns:
- wrapped exception
-
-