ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PreconditionNotMetException.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
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 }
Simple Result object.
Definition: Result.php:10
$result
catch(Exception $e) $message
Named exception to indicate that the preconditions for processing the SAML response have not been met...