ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
CrawlerExceptionHandler Namespace Reference

Functions

 handleException (CrawlerException $ex)
 
 exceptions ()
 Get all exception thrown sofar and reset the logger. More...
 

Variables

 $exceptions = array()
 

Function Documentation

◆ exceptions()

CrawlerExceptionHandler\exceptions ( )

Get all exception thrown sofar and reset the logger.

Returns
CrawlerException[] $return

Definition at line 22 of file CrawlerExceptionLogger.php.

References $exceptions, and array.

Referenced by PHPMailer\__construct(), PHPMailer\addAnAddress(), PHPMailer\addAttachment(), PHPMailer\addOrEnqueueAnAddress(), PHPMailer\createBody(), PHPMailer\DKIM_Sign(), handleException(), PHPMailer\postSend(), PHPMailer\preSend(), PHPMailer\send(), PHPMailer\setFrom(), PHPMailerOAuth\smtpConnect(), and PHPMailer\smtpConnect().

22  {
23  $return = $this->exceptions;
24  $this->exceptions = array()
25  return $return;
26  }
exceptions()
Get all exception thrown sofar and reset the logger.
Create styles array
The data for the language used.
$exceptions
Definition: Utf8Test.php:67
+ Here is the caller graph for this function:

◆ handleException()

CrawlerExceptionHandler\handleException ( CrawlerException  $ex)

Definition at line 13 of file CrawlerExceptionLogger.php.

References exceptions().

Referenced by Whoops\Run\handleError().

13  {
14  $this->exceptions[] = $ex;
15  }
exceptions()
Get all exception thrown sofar and reset the logger.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ $exceptions

CrawlerExceptionHandler\$exceptions = array()
protected

Definition at line 8 of file CrawlerExceptionLogger.php.