You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2019/02/27 00:17:59 UTC

[commons-numbers] branch fraction-dev updated: NUMBERS-74: minor: changed exception listed in doc

This is an automated email from the ASF dual-hosted git repository.

ericbarnhill pushed a commit to branch fraction-dev
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/fraction-dev by this push:
     new 517df33  NUMBERS-74: minor: changed exception listed in doc
517df33 is described below

commit 517df3324cd978cd7fbfb30de0bec9a474f2918f
Author: Eric Barnhill <er...@protonmail.ch>
AuthorDate: Tue Feb 26 16:17:53 2019 -0800

    NUMBERS-74: minor: changed exception listed in doc
---
 .../src/main/java/org/apache/commons/numbers/fraction/Fraction.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
index 12f6e20..2e2a408 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
@@ -638,7 +638,7 @@ public class Fraction
      *
      * @param s String representation.
      * @return an instance.
-     * @throws IllegalArgumentException if the string does not
+     * @throws FractionException if the string does not
      * conform to the specification.
      */
     public static Fraction parse(String s) {