PEAR2_Net_RouterOS  1.0.0b6
A MikroTik RouterOS client
NotSupportedException Class Reference
+ Inheritance diagram for NotSupportedException:
+ Collaboration diagram for NotSupportedException:

Public Member Functions

 __construct ( $message, $code=0, E $previous=null, $value=null)
 Creates a new NotSupportedException. More...
 
 getValue ()
 Gets the unsupported value. More...
 
 __toString ()
 Returns a string representation of the exception. More...
 

Data Fields

const CODE_CONTROL_BYTE = 1601
 
const CODE_MENU_MISMATCH = 60000
 
const CODE_ARG_PROHIBITED = 60001
 

Detailed Description

Definition at line 39 of file NotSupportedException.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $message,
  $code = 0,
$previous = null,
  $value = null 
)

Creates a new NotSupportedException.

Parameters
string$messageThe Exception message to throw.
int$codeThe Exception code.
E | null$previousThe previous exception used for the exception chaining.
mixed$valueThe unsupported value.

Definition at line 64 of file NotSupportedException.php.

Member Function Documentation

◆ __toString()

__toString ( )

Returns a string representation of the exception.

Returns
string The exception as a string.

Definition at line 92 of file NotSupportedException.php.

◆ getValue()

getValue ( )

Gets the unsupported value.

Returns
mixed The unsupported value.

Definition at line 79 of file NotSupportedException.php.


The documentation for this class was generated from the following file: