Files
secondo/Algebras/Rose/RoseJava/twodsack/util/number/RationalOverflowException.java
2026-01-23 17:03:45 +08:00

30 lines
690 B
Java

/*
* RationalOverflowException.java 2005-05-13
*
* Dirk Ansorge, FernUniversitaet Hagen
*
*/
package twodsack.util.number;
/**
* Depending on the implementation of a {@link Rational} class extension, internal fields may overflow.
* In such cases, an instance of this class is thrown.
*/
public class RationalOverflowException extends RuntimeException {
/**
* Constructs an 'empty' exception.
*/
public RationalOverflowException() { super(); }
/**
* Constructs an exception with an error message.
*
* @param s the error message
*/
public RationalOverflowException(String s) { super(s); }
}//end Exception RationalOverflowException