ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SAML2\Exception\UnparseableXmlException Class Reference
+ Inheritance diagram for SAML2\Exception\UnparseableXmlException:
+ Collaboration diagram for SAML2\Exception\UnparseableXmlException:

Public Member Functions

 __construct (\LibXMLError $error)
 

Static Private Attributes

static $levelMap
 

Detailed Description

Definition at line 5 of file UnparseableXmlException.php.

Constructor & Destructor Documentation

◆ __construct()

SAML2\Exception\UnparseableXmlException::__construct ( \LibXMLError  $error)

Definition at line 13 of file UnparseableXmlException.php.

14 {
16 'Unable to parse XML - "%s[%d]": "%s" in "%s" at line %d on column %d"',
17 static::$levelMap[$error->level],
18 $error->code,
19 $error->message,
20 $error->file ?: '(string)',
21 $error->line,
22 $error->column
23 );
24
25 parent::__construct($message);
26 }
sprintf('%.4f', $callTime)
$error
Definition: Error.php:17
catch(Exception $e) $message

References $error, $message, and sprintf.

Field Documentation

◆ $levelMap

SAML2\Exception\UnparseableXmlException::$levelMap
staticprivate
Initial value:
= array(
LIBXML_ERR_WARNING => 'WARNING',
LIBXML_ERR_ERROR => 'ERROR',
LIBXML_ERR_FATAL => 'FATAL'
)

Definition at line 7 of file UnparseableXmlException.php.


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