public class ArithmeticException extends SystemException
Constructor and Description |
---|
ArithmeticException()
Initializes a new instance of the ArithmeticException class.
|
ArithmeticException(java.lang.String message)
Initializes a new instance of the ArithmeticException class with a specified error message.
|
ArithmeticException(java.lang.String message,
java.lang.Exception innerException)
Initializes a new instance of the ArithmeticException class with a specified error message and a reference to the inner exception that is the cause of this exception.
|
public ArithmeticException()
public ArithmeticException(java.lang.String message)
message
- A String that describes the error.public ArithmeticException(java.lang.String message, java.lang.Exception innerException)
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.