PEAR2_Net_RouterOS
1.0.0b6
A MikroTik RouterOS client
|
Public Member Functions | |
__construct ( $message, $code=0, E $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 43 of file LengthException.php.
__construct | ( | $message, | |
$code = 0 , |
|||
E | $previous = null , |
||
$length = null |
|||
) |
Creates a new LengthException.
string | $message | The Exception message to throw. |
int | $code | The Exception code. |
E | null | $previous | The previous exception used for the exception chaining. |
int | double | null | $length | The length. |
Definition at line 66 of file LengthException.php.
__toString | ( | ) |
Returns a string representation of the exception.
Definition at line 94 of file LengthException.php.
getLength | ( | ) |
Gets the length.
Definition at line 81 of file LengthException.php.