Document NPE.

JIRA: MATH-1116
JIRA: MATH-1224
This commit is contained in:
Luc Maisonobe 2015-05-19 13:38:30 +02:00
parent c44bfe000c
commit 441687e5a4

View File

@ -292,9 +292,12 @@ public abstract class AbstractIntegrator implements FirstOrderIntegrator {
* @param yDot placeholder array where to put the time derivative of the state vector
* @exception MaxCountExceededException if the number of functions evaluations is exceeded
* @exception DimensionMismatchException if arrays dimensions do not match equations settings
* @exception NullPointerException if the ODE equations have not been set (i.e. if this method
* is called outside of a call to {@link #integrate(ExpandableStatefulODE, double)} or {@link
* #integrate(FirstOrderDifferentialEquations, double, double[], double, double[])})
*/
public void computeDerivatives(final double t, final double[] y, final double[] yDot)
throws MaxCountExceededException, DimensionMismatchException {
throws MaxCountExceededException, DimensionMismatchException, NullPointerException {
evaluations.incrementCount();
expandable.computeDerivatives(t, y, yDot);
}