Example usage for org.apache.commons.math.ode DerivativeException DerivativeException

List of usage examples for org.apache.commons.math.ode DerivativeException DerivativeException

Introduction

In this page you can find the example usage for org.apache.commons.math.ode DerivativeException DerivativeException.

Prototype

public DerivativeException(final Throwable cause) 

Source Link

Document

Build an instance from an underlying cause.

Usage

From source file:org.orekit.propagation.sampling.AdaptedStepHandler.java

/** {@inheritDoc} */
public void handleStep(final StepInterpolator interpolator, final boolean isLast) throws DerivativeException {
    try {/*ww w  . j a v  a 2s.  c  o  m*/
        this.rawInterpolator = interpolator;
        handler.handleStep(this, isLast);
    } catch (PropagationException pe) {
        throw new DerivativeException(pe);
    }
}