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.

22 {
23 $return = $this->exceptions;
24 $this->exceptions = array()
25 return $return;
26 }
$exceptions
Definition: Utf8Test.php:67
exceptions()
Get all exception thrown sofar and reset the logger.

References $exceptions, and exceptions().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleException()

CrawlerExceptionHandler\handleException ( CrawlerException  $ex)

Definition at line 13 of file CrawlerExceptionLogger.php.

13 {
14 $this->exceptions[] = $ex;
15 }

References exceptions().

Referenced by Whoops\Run\handleError().

+ 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.