ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($authsource, $reason, $cause=NULL) | |
Create a new AuthSource error. More... | |
getAuthSource () | |
Retrieve the authsource module name from where this error was thrown. More... | |
getReason () | |
Retrieve the reason why the request was invalid. 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... | |
Private Attributes | |
$authsource | |
Authsource module name. More... | |
$reason | |
Reason why this request was invalid. 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 | |
Definition at line 8 of file AuthSource.php.
SimpleSAML_Error_AuthSource::__construct | ( | $authsource, | |
$reason, | |||
$cause = NULL |
|||
) |
Create a new AuthSource error.
string | $authsource | Authsource module name from where this error was thrown. |
string | $reason | Description of the error. |
Definition at line 29 of file AuthSource.php.
References $authsource, SimpleSAML_Error_Exception\$cause, $reason, and array.
SimpleSAML_Error_AuthSource::getAuthSource | ( | ) |
Retrieve the authsource module name from where this error was thrown.
Definition at line 53 of file AuthSource.php.
References $authsource.
SimpleSAML_Error_AuthSource::getReason | ( | ) |
Retrieve the reason why the request was invalid.
Definition at line 63 of file AuthSource.php.
References $reason.
|
private |
Authsource module name.
Definition at line 14 of file AuthSource.php.
Referenced by __construct(), and getAuthSource().
|
private |
Reason why this request was invalid.
Definition at line 20 of file AuthSource.php.
Referenced by __construct(), and getReason().