ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This exception is thrown when the Readers runs into a parsing error. More...
Public Member Functions | |
__construct (array $errors, $code=null, Exception $previousException=null) | |
Creates the exception. More... | |
getErrors () | |
Returns the LibXML errors. More... | |
Protected Attributes | |
$errors | |
This exception is thrown when the Readers runs into a parsing error.
This exception effectively wraps 1 or more LibXMLError objects.
Definition at line 17 of file LibXMLException.php.
Sabre\Xml\LibXMLException::__construct | ( | array | $errors, |
$code = null , |
|||
Exception | $previousException = null |
||
) |
Creates the exception.
You should pass a list of LibXMLError objects in its constructor.
LibXMLError[] | $errors | |
int | $code | |
Exception | $previousException |
Definition at line 35 of file LibXMLException.php.
References $code, and Sabre\Xml\LibXMLException\$errors.
Sabre\Xml\LibXMLException::getErrors | ( | ) |
Returns the LibXML errors.
Definition at line 47 of file LibXMLException.php.
References Sabre\Xml\LibXMLException\$errors.
Referenced by Sabre\Xml\ReaderTest\testParseProblem().
|
protected |
Definition at line 24 of file LibXMLException.php.
Referenced by Sabre\Xml\LibXMLException\__construct(), and Sabre\Xml\LibXMLException\getErrors().