OverflowException
└─SwatIntegerOverflowException
public class SwatIntegerOverflowException
extends OverflowException
| Field Summary | |
|---|---|
| protected integer | Sign. |
| Constructor Summary | |
|---|---|
SwatIntegerOverflowException(string message, integer code, integer sign) Creates a new invalid type exception. |
|
| Method Summary | |
|---|---|
| integer | getSign() Gets the sign of the integer. |
protected integer $sign = null
Sign
The sign of the integer, either positive or negative
public SwatIntegerOverflowException(string message, integer code, integer sign)
Creates a new invalid type exception
message - the message of the exception.code - the code of the exception.sign - the sign of the integer, either positive or negative.public integer getSign()
Gets the sign of the integer
Thrown when a integer causes an arithmetic/buffer overflow