ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
UnparseableXmlException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\Exception
;
4
5
final
class
UnparseableXmlException
extends
RuntimeException
6
{
7
private
static
$levelMap
=
array
(
8
LIBXML_ERR_WARNING =>
'WARNING'
,
9
LIBXML_ERR_ERROR =>
'ERROR'
,
10
LIBXML_ERR_FATAL =>
'FATAL'
11
);
12
13
public
function
__construct
(\LibXMLError
$error
)
14
{
15
$message
= sprintf(
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
}
27
}
SAML2\Exception\UnparseableXmlException\__construct
__construct(\LibXMLError $error)
Definition:
UnparseableXmlException.php:13
SAML2\Exception\UnparseableXmlException\$levelMap
static $levelMap
Definition:
UnparseableXmlException.php:7
SAML2\Exception\UnparseableXmlException
Definition:
UnparseableXmlException.php:5
$error
$error
Definition:
Error.php:17
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
RuntimeException
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
SAML2\Exception
Definition:
InvalidArgumentException.php:3
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Exception
UnparseableXmlException.php
Generated on Tue Jan 28 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)