ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
PreconditionNotMetException.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
SAML2\Response\Exception
;
4
5
use
SAML2\Response\Validation\Result
;
6
10
class
PreconditionNotMetException
extends
InvalidResponseException
11
{
12
public
static
function
createFromValidationResult
(
Result
$result
)
13
{
14
$message
= sprintf(
15
'Cannot process response, preconditions not met: "%s"'
,
16
implode(
'", "'
,
$result
->getErrors())
17
);
18
19
return
new
self
(
$message
);
20
}
21
}
$result
$result
Definition:
CleanUpTest.php:463
php
An exception for terminatinating execution or to throw for unit testing.
SAML2\Response\Exception\InvalidResponseException
Definition:
InvalidResponseException.php:8
SAML2\Response\Exception\PreconditionNotMetException
Named exception to indicate that the preconditions for processing the SAML response have not been met...
Definition:
PreconditionNotMetException.php:11
SAML2\Response\Exception\PreconditionNotMetException\createFromValidationResult
static createFromValidationResult(Result $result)
Definition:
PreconditionNotMetException.php:12
SAML2\Response\Validation\Result
Simple Result object.
Definition:
Result.php:11
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
SAML2\Response\Exception
Definition:
InvalidResponseException.php:3
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Response
Exception
PreconditionNotMetException.php
Generated on Thu Oct 2 2025 19:01:17 for ILIAS by
1.9.4 (using
Doxyfile
)