PEAR2_Net_RouterOS
1.0.0b5
A MikroTik RouterOS client
|
Public Member Functions | |
__construct ($message, $code=0, $previous=null, $length=null) | |
Creates a new LengthException. More... | |
getLength () | |
Gets the length. More... | |
__toString () | |
Returns a string representation of the exception. More... | |
Data Fields | |
const | CODE_UNSUPPORTED = 1200 |
const | CODE_INVALID = 1300 |
const | CODE_BEYOND_SHEME = 1301 |
Definition at line 37 of file LengthException.php.
__construct | ( | $message, | |
$code = 0 , |
|||
$previous = null , |
|||
$length = null |
|||
) |
Creates a new LengthException.
string | $message | The Exception message to throw. |
int | $code | The Exception code. |
\Exception | $previous | The previous exception used for the exception chaining. |
number | $length | The length. |
Definition at line 59 of file LengthException.php.
__toString | ( | ) |
Returns a string representation of the exception.
Definition at line 87 of file LengthException.php.
getLength | ( | ) |
const CODE_BEYOND_SHEME = 1301 |
Definition at line 42 of file LengthException.php.
const CODE_INVALID = 1300 |
Definition at line 41 of file LengthException.php.
const CODE_UNSUPPORTED = 1200 |
Definition at line 40 of file LengthException.php.