PEAR2_Net_RouterOS
1.0.0b5
A MikroTik RouterOS client
|
Public Member Functions | |
__construct ($message, $code=0, $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 34 of file UnexpectedValueException.php.
__construct | ( | $message, | |
$code = 0 , |
|||
$previous = null , |
|||
$value = null |
|||
) |
Creates a new UnexpectedValueException.
string | $message | The Exception message to throw. |
int | $code | The Exception code. |
\Exception | $previous | The previous exception used for the exception chaining. |
mixed | $value | The unexpected value. |
Definition at line 54 of file UnexpectedValueException.php.
__toString | ( | ) |
Returns a string representation of the exception.
Definition at line 82 of file UnexpectedValueException.php.
getValue | ( | ) |
Gets the unexpected value.
Definition at line 69 of file UnexpectedValueException.php.
const CODE_ACTION_UNKNOWN = 30100 |
Definition at line 37 of file UnexpectedValueException.php.
const CODE_CALLBACK_INVALID = 10502 |
Definition at line 36 of file UnexpectedValueException.php.
const CODE_RESPONSE_TYPE_UNKNOWN = 50100 |
Definition at line 38 of file UnexpectedValueException.php.