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
public class OrekitExceptionWrapper
- extends RuntimeException
This class allows to wrap OrekitException instances in RuntimeException.
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OrekitExceptionWrapper
public OrekitExceptionWrapper(OrekitException wrappedException)
- Simple constructor.
- Parameters:
wrappedException - Orekit exception to wrap
getException
public OrekitException getException()
- Get the wrapped exception.
- Returns:
- wrapped exception
Copyright © 2016 CNES. All Rights Reserved.