java.lang
Class ArithmeticException

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

public class ArithmeticException
extends RuntimeException

This runtime exception is thrown when the an invalid arithmetic operation is attempted.

See Also:
Serialized Form

Constructor Summary
ArithmeticException()
          Constructs a new instance of this class with its walkback filled in.
ArithmeticException(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithmeticException

public ArithmeticException()
Constructs a new instance of this class with its walkback filled in.


ArithmeticException

public ArithmeticException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.