java.lang
Class ArithmeticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
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.