From e1836fd8aca4bfe61d870c0653a64b48901645cc Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Tue, 6 Sep 2011 20:18:42 +0000 Subject: [PATCH] removed MathUserException from DFP package git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165821 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/dfp/UnivariateDfpFunction.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/java/org/apache/commons/math/dfp/UnivariateDfpFunction.java b/src/main/java/org/apache/commons/math/dfp/UnivariateDfpFunction.java index 2b558f076..eb0949b72 100644 --- a/src/main/java/org/apache/commons/math/dfp/UnivariateDfpFunction.java +++ b/src/main/java/org/apache/commons/math/dfp/UnivariateDfpFunction.java @@ -16,8 +16,6 @@ */ package org.apache.commons.math.dfp; -import org.apache.commons.math.exception.MathUserException; - /** * An interface representing a univariate {@link Dfp} function. * @@ -36,16 +34,7 @@ public interface UnivariateDfpFunction { * majority of cases where Commons-Math throws IllegalArgumentException, * it is the result of argument checking of actual parameters immediately * passed to a method. - * @throws MathUserException when the method may encounter errors during evaluation. - * This should be thrown only in circumstances where, at the level of the - * activated function, IllegalArgumentException is not appropriate and it - * should indicate that while formal preconditions of the method have not - * been violated, an irrecoverable error has occurred evaluating a - * function at some (usually lower) level of the call stack. - * Convergence failures, runtime exceptions (even IllegalArgumentException) - * in user code or lower level methods can cause (and should be wrapped in) - * a MathUserException. */ - Dfp value(Dfp x) throws MathUserException; + Dfp value(Dfp x); }