25.2 java.lang.ArithmeticException (JDK 1.0)A RuntimeException that signals an exceptional arithmetic condition, such as integer division by zero.
public class ArithmeticException extends RuntimeException { // Public Constructors public ArithmeticException(); public ArithmeticException(String s); } Hierarchy:Object->Throwable(Serializable)->Exception->RuntimeException->ArithmeticException Thrown By:BigDecimal.divide(), BigDecimal.setScale(), BigInteger.add(), BigInteger.clearBit(), BigInteger.divide(), BigInteger.divideAndRemainder(), BigInteger.flipBit(), BigInteger.modInverse(), BigInteger.pow(), BigInteger.remainder(), BigInteger.setBit(), BigInteger.testBit() |
|