ArithmeticException
java ArithmeticException
Thrown for exceptional arithmetic conditions, most commonly integer division or modulo by zero (ArithmeticException: / by zero). Floating-point division by zero yields Infinity, not an exception.
Thrown for exceptional arithmetic conditions, most commonly integer division or modulo by zero (ArithmeticException: / by zero). Floating-point division by zero yields Infinity, not an exception.