Stud.IP
6.1
|
Public Member Functions | |
__construct (string $message='', int $code=0, ?\Range $range=null) | |
getInformation () | |
getRange () | |
Data Fields | |
const | GENERAL_ERROR = 0 |
const | END_BEFORE_BEGINNING = 1 |
Protected Attributes | |
Range | $range = null |
This class is a specialisation of the standard Exception class to distinguish Stud.IP exceptions from standard exceptions.
__construct | ( | string | $message = '' , |
int | $code = 0 , |
||
?\Range | $range = null |
||
) |
getInformation | ( | ) |
Converts the content of the exception into an Information object.
getRange | ( | ) |
|
protected |
const END_BEFORE_BEGINNING = 1 |
END_BEFORE_BEGINNING means that a time range is specified where the end lies before the beginning.
const GENERAL_ERROR = 0 |
GENERAL_ERROR means that an unspecified error has occurred.