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

29 lines
772 B
Java

/*
* DivisionByZeroException.java 2004-11-05
*
* Dirk Ansorge, FernUniversitaet Hagen
*
*/
package twodsack.util.number;
/**
* This exception is thrown when a division by zero occurs.
* Usually, this should be avoided by the implementor of the method.
*/
public class DivisionByZeroException extends RuntimeException {
/**
* Constructs a new instance of DivisionByZeroException.
* All fields default to null.
*/
public DivisionByZeroException() { super(); }
/**
* Constructs a new instance of DivisionByZeroException using the argument supplied.
*
* @param s the string with description about this exception.
*/
public DivisionByZeroException(String s) { super(s); }
}//end Exception DivisionByZeroException