PEAR2_Net_RouterOS
1.0.0b6
A MikroTik RouterOS client
|
Public Member Functions | |
__construct ( $message, $code=0, E $previous=null, $value=null) | |
Creates a new UnexpectedValueException. More... | |
getValue () | |
Gets the unexpected value. More... | |
__toString () | |
Returns a string representation of the exception. More... | |
Data Fields | |
const | CODE_CALLBACK_INVALID = 10502 |
const | CODE_ACTION_UNKNOWN = 30100 |
const | CODE_RESPONSE_TYPE_UNKNOWN = 50100 |
Definition at line 43 of file UnexpectedValueException.php.
__construct | ( | $message, | |
$code = 0 , |
|||
E | $previous = null , |
||
$value = null |
|||
) |
Creates a new UnexpectedValueException.
string | $message | The Exception message to throw. |
int | $code | The Exception code. |
E | null | $previous | The previous exception used for the exception chaining. |
mixed | $value | The unexpected value. |
Definition at line 65 of file UnexpectedValueException.php.
__toString | ( | ) |
Returns a string representation of the exception.
Definition at line 93 of file UnexpectedValueException.php.
getValue | ( | ) |
Gets the unexpected value.
Definition at line 80 of file UnexpectedValueException.php.