ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SimpleSAML_Error_MetadataNotFound Class Reference
+ Inheritance diagram for SimpleSAML_Error_MetadataNotFound:
+ Collaboration diagram for SimpleSAML_Error_MetadataNotFound:

Public Member Functions

 __construct ($entityId)
 Create the error. More...
 
- Public Member Functions inherited from SimpleSAML_Error_Error
 __construct ($errorCode, Exception $cause=null, $httpCode=null)
 Constructor for this error. More...
 
 getErrorCode ()
 Retrieve the error code given when throwing this error. More...
 
 getParameters ()
 Retrieve the error parameters given when throwing this error. More...
 
 getDictTitle ()
 Retrieve the error title tag in dictionary. More...
 
 getDictDescr ()
 Retrieve the error description tag in dictionary. More...
 
 show ()
 Display this error. More...
 
- Public Member Functions inherited from SimpleSAML_Error_Exception
 __construct ($message, $code=0, Exception $cause=null)
 Constructor for this error. More...
 
 getBacktrace ()
 Retrieve the backtrace. More...
 
 getCause ()
 Retrieve the cause of this exception. More...
 
 getClass ()
 Retrieve the class of this exception. More...
 
 format ($anonymize=false)
 Format this exception for logging. More...
 
 formatBacktrace ($anonymize=false)
 Format the backtrace for logging. More...
 
 log ($default_level)
 Print the exception to the log, by default with log level error. More...
 
 logError ()
 Print the exception to the log with log level error. More...
 
 logWarning ()
 Print the exception to the log with log level warning. More...
 
 logInfo ()
 Print the exception to the log with log level info. More...
 
 logDebug ()
 Print the exception to the log with log level debug. More...
 
 __sleep ()
 Function for serialization. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SimpleSAML_Error_Exception
static fromException (Exception $e)
 Convert any exception into a SimpleSAML_Error_Exception. More...
 
- Protected Member Functions inherited from SimpleSAML_Error_Error
 setHTTPCode ()
 Set the HTTP return code for this error. More...
 
 saveError ()
 Save an error report. More...
 
- Protected Member Functions inherited from SimpleSAML_Error_Exception
 initBacktrace (Exception $exception)
 Load the backtrace from the given exception. More...
 
 logBacktrace ($level=\SimpleSAML\Logger::DEBUG)
 Print the backtrace to the log if the 'debug' option is enabled in the configuration. More...
 
- Protected Attributes inherited from SimpleSAML_Error_Error
 $httpCode = 500
 
 $includeTemplate = null
 

Detailed Description

Definition at line 8 of file MetadataNotFound.php.

Constructor & Destructor Documentation

◆ __construct()

SimpleSAML_Error_MetadataNotFound::__construct (   $entityId)

Create the error.

Parameters
string$entityIdThe entityID we were unable to locate.

Definition at line 16 of file MetadataNotFound.php.

References $entityId, and array.

16  {
17  assert('is_string($entityId)');
18 
19  $this->includeTemplate = 'core:no_metadata.tpl.php';
20  parent::__construct(array(
21  'METADATANOTFOUND',
22  '%ENTITYID%' => htmlspecialchars(var_export($entityId, TRUE))
23  ));
24  }
Create styles array
The data for the language used.
if($source===null) if(!($source instanceof sspmod_saml_Auth_Source_SP)) $entityId
Definition: metadata.php:22

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