java.lang
Class ArithmeticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.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(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 |
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.
Please submit a feedback, bug or feature