| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
 Inheritance diagram for SimpleSAML_Error_Exception:
 Inheritance diagram for SimpleSAML_Error_Exception: Collaboration diagram for SimpleSAML_Error_Exception:
 Collaboration diagram for SimpleSAML_Error_Exception:| Public Member Functions | |
| __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... | |
| Static Public Member Functions | |
| static | fromException (Exception $e) | 
| Convert any exception into a SimpleSAML_Error_Exception.  More... | |
| Protected Member Functions | |
| 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... | |
| Private Attributes | |
| $backtrace | |
| $cause | |
Definition at line 12 of file Exception.php.
| SimpleSAML_Error_Exception::__construct | ( | $message, | |
| $code = 0, | |||
| Exception | $cause = null | ||
| ) | 
Constructor for this error.
Note that the cause will be converted to a SimpleSAML_Error_UnserializableException unless it is a subclass of SimpleSAML_Error_Exception.
| string | $message | Exception message | 
| int | $code | Error code | 
| Exception | null | $cause | The cause of this exception. | 
Definition at line 44 of file Exception.php.
References $cause, $code, $message, fromException(), and initBacktrace().
 Here is the call graph for this function:
 Here is the call graph for this function:| SimpleSAML_Error_Exception::__sleep | ( | ) | 
Function for serialization.
This function builds a list of all variables which should be serialized. It will serialize all variables except the Exception::trace variable.
Definition at line 303 of file Exception.php.
| SimpleSAML_Error_Exception::format | ( | $anonymize = false | ) | 
Format this exception for logging.
Create an array of lines for logging.
| boolean | $anonymize | Whether the resulting messages should be anonymized or not. | 
Reimplemented in SimpleSAML_Error_NotFound.
Definition at line 150 of file Exception.php.
References $ret, formatBacktrace(), and getClass().
Referenced by SimpleSAML_Error_Error\saveError().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| SimpleSAML_Error_Exception::formatBacktrace | ( | $anonymize = false | ) | 
Format the backtrace for logging.
Create an array of lines for logging from the backtrace.
| boolean | $anonymize | Whether the resulting messages should be anonymized or not. | 
Definition at line 168 of file Exception.php.
References $i, $ret, and SimpleSAML_Configuration\getInstance().
Referenced by format(), and logBacktrace().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Convert any exception into a SimpleSAML_Error_Exception.
| Exception | $e | The exception. | 
Reimplemented in sspmod_saml_Error.
Definition at line 66 of file Exception.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| SimpleSAML_Error_Exception::getBacktrace | ( | ) | 
Retrieve the backtrace.
Definition at line 113 of file Exception.php.
References $backtrace.
| SimpleSAML_Error_Exception::getCause | ( | ) | 
Retrieve the cause of this exception.
Definition at line 124 of file Exception.php.
References $cause.
| SimpleSAML_Error_Exception::getClass | ( | ) | 
Retrieve the class of this exception.
Reimplemented in SimpleSAML_Error_UnserializableException.
Definition at line 135 of file Exception.php.
Referenced by format(), SimpleSAML_Error_NotFound\format(), logDebug(), logError(), logInfo(), and logWarning().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Load the backtrace from the given exception.
| Exception | $exception | The exception we should fetch the backtrace from. | 
Definition at line 81 of file Exception.php.
References $t.
Referenced by __construct(), and SimpleSAML_Error_UnserializableException\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| SimpleSAML_Error_Exception::log | ( | $default_level | ) | 
Print the exception to the log, by default with log level error.
Override to allow errors extending this class to specify the log level themselves.
| int | $default_level | The log level to use if this method was not overridden. | 
Definition at line 235 of file Exception.php.
References DEBUG.
Referenced by sspmod_saml_IdP_SAML2\handleAuthError().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Print the backtrace to the log if the 'debug' option is enabled in the configuration.
Definition at line 198 of file Exception.php.
References $backtrace, Sabre\VObject\$debug, DEBUG, formatBacktrace(), and SimpleSAML_Configuration\getInstance().
Referenced by logDebug(), logError(), logInfo(), and logWarning().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| SimpleSAML_Error_Exception::logDebug | ( | ) | 
Print the exception to the log with log level debug.
This function will write this exception to the log, including a full backtrace.
Definition at line 288 of file Exception.php.
References SimpleSAML\Logger\debug(), DEBUG, getClass(), and logBacktrace().
 Here is the call graph for this function:
 Here is the call graph for this function:| SimpleSAML_Error_Exception::logError | ( | ) | 
Print the exception to the log with log level error.
This function will write this exception to the log, including a full backtrace.
Definition at line 252 of file Exception.php.
References SimpleSAML\Logger\error(), getClass(), and logBacktrace().
Referenced by SimpleSAML_Error_Error\show().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| SimpleSAML_Error_Exception::logInfo | ( | ) | 
Print the exception to the log with log level info.
This function will write this exception to the log, including a full backtrace.
Definition at line 276 of file Exception.php.
References getClass(), SimpleSAML\Logger\info(), and logBacktrace().
 Here is the call graph for this function:
 Here is the call graph for this function:| SimpleSAML_Error_Exception::logWarning | ( | ) | 
Print the exception to the log with log level warning.
This function will write this exception to the log, including a full backtrace.
Definition at line 264 of file Exception.php.
References getClass(), logBacktrace(), and SimpleSAML\Logger\warning().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 23 of file Exception.php.
Referenced by getBacktrace(), and logBacktrace().
| 
 | private | 
Definition at line 31 of file Exception.php.
Referenced by SimpleSAML_Error_AuthSource\__construct(), SimpleSAML_Error_Error\__construct(), __construct(), SimpleSAML\Module\saml\Error\NoAuthnContext\__construct(), SimpleSAML\Module\saml\Error\NoAvailableIDP\__construct(), SimpleSAML\Module\saml\Error\NoPassive\__construct(), SimpleSAML\Module\saml\Error\NoSupportedIDP\__construct(), SimpleSAML\Module\saml\Error\ProxyCountExceeded\__construct(), sspmod_saml_Error\__construct(), SimpleSAML_Error_UserAborted\__construct(), and getCause().