java.lang
Class ArithmeticException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.ArithmeticException
All Implemented Interfaces:
AutomaticallyFillsInException

public class ArithmeticException
extends RuntimeException
implements AutomaticallyFillsInException

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


Constructor Summary
ArithmeticException()
          Constructs a new instance of this class with its walkback filled in.
ArithmeticException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, nullStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println
 

Constructor Detail

ArithmeticException

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


ArithmeticException

public ArithmeticException(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.