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

Static Public Member Functions

static invalidType ($expected, $parameter)
 

Detailed Description

Definition at line 5 of file InvalidArgumentException.php.

Member Function Documentation

◆ invalidType()

static SAML2\Exception\InvalidArgumentException::invalidType (   $expected,
  $parameter 
)
static
Parameters
string$expecteddescription of expected type
mixed$parameterthe parameter that is not of the expected type.
Returns
\SAML2\Exception\InvalidArgumentException

Definition at line 13 of file InvalidArgumentException.php.

14 {
16 'Invalid Argument type: "%s" expected, "%s" given',
17 $expected,
18 is_object($parameter) ? get_class($parameter) : gettype($parameter)
19 );
20
21 return new self($message);
22 }
sprintf('%.4f', $callTime)
catch(Exception $e) $message

References $message, and sprintf.

Referenced by SAML2\Configuration\Destination\__construct(), SAML2\Configuration\PrivateKey\__construct(), SAML2\Certificate\Fingerprint\__construct(), SAML2\Certificate\FingerprintCollection\add(), SAML2\Certificate\KeyCollection\add(), SAML2\Assertion\Validation\Result\addError(), SAML2\Response\Validation\Result\addError(), SAML2\Certificate\Key\assertIsString(), SAML2\Certificate\PrivateKey\create(), SAML2\Utilities\File\getFileContents(), SAML2\Certificate\KeyLoader\loadCertificateData(), and SAML2\Certificate\FingerprintLoader\loadFingerprints().

+ Here is the caller graph for this function:

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