public class java.lang
ArithmeticException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException
Details
Thrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by zero" throws an instance of this class.
version1.23, 11/17/05
sinceJDK1.0

Constructors
public ArithmeticException()
Constructs an ArithmeticException with no detail message.
public ArithmeticException(String s) Details
Constructs an ArithmeticException with the specified detail message.
sthe detail message.