public final class ArithmeticOverflowException
extends java.lang.RuntimeException
Constructor and Description |
---|
ArithmeticOverflowException(java.lang.Number leftValue,
java.lang.String operation,
java.lang.Number rightValue)
Creates an arithmetic exception by constructor a message from the left and right values, and the operation performed
|
ArithmeticOverflowException(java.lang.String message)
Creates an arithmetic exception with the given message
|
public ArithmeticOverflowException(java.lang.String message)
message
- The message to display as the exceptionpublic ArithmeticOverflowException(java.lang.Number leftValue, java.lang.String operation, java.lang.Number rightValue)
leftValue
- The left value of the operationoperation
- The operation being performedrightValue
- The right value of the operation