Class RuggedExceptionWrapper

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public class RuggedExceptionWrapper
    extends RuntimeException
    Deprecated.
    as of 2.1, this class is not used anymore, as RuggedException is now an unchecked exception
    This class allows to wrap RuggedException instances in RuntimeException.

    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 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