ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
CrawlerExceptionLogger.php
Go to the documentation of this file.
1<?php
7class CrawlerExceptionLogger implements CrawlerExceptionHandler {
8 protected $exceptions = array();
9
13 public function handleException(CrawlerException $ex) {
14 $this->exceptions[] = $ex;
15 }
16
22 public function exceptions() {
23 $return = $this->exceptions;
24 $this->exceptions = array()
25 return $return;
26 }
27}
$exceptions
Definition: Utf8Test.php:67
An exception for terminatinating execution or to throw for unit testing.
exceptions()
Get all exception thrown sofar and reset the logger.
handleException(CrawlerException $ex)