ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
CrawlerExceptionLogger.php
Go to the documentation of this file.
1
<?
php
2
namespace
ILIAS\UI\Implementation\Crawler\Exception
;
3
8
class
CrawlerExceptionLogger
implements
CrawlerExceptionHandler
9
{
10
protected
$exceptions
= array();
11
15
public
function
handleException
(
CrawlerException
$ex)
16
{
17
$this->
exceptions
[] = $ex;
18
}
19
25
public
function
exceptions
()
26
{
27
$return =
$this->exceptions
;
28
$this->
exceptions
= array();
29
return
$return;
30
}
31
}
ILIAS\UI\Implementation\Crawler\Exception\CrawlerExceptionLogger\$exceptions
$exceptions
Definition:
CrawlerExceptionLogger.php:10
ILIAS\UI\Implementation\Crawler\Exception\CrawlerExceptionLogger
Sometimes we would like to store exception, instead of throwing them on spot, e.g.
Definition:
CrawlerExceptionLogger.php:8
ILIAS\UI\Implementation\Crawler\Exception\CrawlerExceptionLogger\handleException
handleException(CrawlerException $ex)
Handle an exception request.
Definition:
CrawlerExceptionLogger.php:15
ILIAS\UI\Implementation\Crawler\Exception
Definition:
CrawlerAssertion.php:5
ILIAS\UI\Implementation\Crawler\Exception\CrawlerExceptionHandler
Handle Crawler exceptions.
Definition:
CrawlerExceptionHandler.php:7
php
ILIAS\UI\Implementation\Crawler\Exception\CrawlerExceptionLogger\exceptions
exceptions()
Get all exception thrown sofar and reset the logger.
Definition:
CrawlerExceptionLogger.php:25
src
UI
Implementation
Crawler
Exception
CrawlerExceptionLogger.php
Generated on Sun Aug 31 2025 19:02:05 for ILIAS by
1.8.13 (using
Doxyfile
)