Name
ArithmeticException
Synopsis
A
RuntimeException
that signals an exceptional
arithmetic condition, such as integer division by zero.
Figure 10-3. java.lang.ArithmeticException
public class ArithmeticException extends RuntimeException { // Public Constructors public ArithmeticException( ); public ArithmeticException(String s); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.