List of usage examples for org.apache.commons.math3.exception.util LocalizedFormats UNKNOWN_PARAMETER
LocalizedFormats UNKNOWN_PARAMETER
To view the source code for org.apache.commons.math3.exception.util LocalizedFormats UNKNOWN_PARAMETER.
Click Source Link
From source file:org.orekit.propagation.conversion.NumericalPropagatorBuilder.java
/** {@inheritDoc} */ public void setFreeParameters(final Collection<String> parameters) throws IllegalArgumentException { freeParameters = new ArrayList<String>(); for (String name : parameters) { if (!isSupported(name)) { throw OrekitException.createIllegalArgumentException(LocalizedFormats.UNKNOWN_PARAMETER, name); }/*from w ww. ja v a 2 s . com*/ } freeParameters.addAll(parameters); }