APCS Java Subset

ap.java.lang
Class ArithmeticException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byap.java.lang.ArithmeticException
All Implemented Interfaces:
java.io.Serializable

public class ArithmeticException
extends java.lang.RuntimeException

An object of this class is thrown when an exceptional arithmetic condition has occurred. For example, executing integer division by zero as in: int x = 3/0; will throw this exception.

See Also:
Serialized Form

Constructor Summary
ArithmeticException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithmeticException

public ArithmeticException()

unofficial documentation for the APCS Java Subset