Example usage for org.apache.commons.math3.ode UnknownParameterException UnknownParameterException

List of usage examples for org.apache.commons.math3.ode UnknownParameterException UnknownParameterException

Introduction

In this page you can find the example usage for org.apache.commons.math3.ode UnknownParameterException UnknownParameterException.

Prototype

public UnknownParameterException(final String name) 

Source Link

Document

Construct an exception from the unknown parameter.

Usage

From source file:org.orekit.forces.gravity.OceanTides.java

/** {@inheritDoc} */
@Override//  w  w  w  .  jav  a  2s  .co  m
public double getParameter(final String name) throws UnknownParameterException {
    // there are no tunable parameters at all in this force model
    throw new UnknownParameterException(name);
}

From source file:org.orekit.forces.gravity.OceanTides.java

/** {@inheritDoc} */
@Override//w w  w .ja  v a 2 s . c o m
public void setParameter(final String name, final double value) throws UnknownParameterException {
    // there are no tunable parameters at all in this force model
    throw new UnknownParameterException(name);
}