ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilUnitUtil Class Reference

Utilities for Unit Testing. More...

+ Collaboration diagram for ilUnitUtil:

Public Member Functions

 errorHandler ($a_error_obj)
 

Detailed Description

Utilities for Unit Testing.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
Id
class.ilSetting.php 15697 2008-01-08 20:04:33Z hschottm

Definition at line 9 of file class.ilUnitUtil.php.

Member Function Documentation

◆ errorHandler()

ilUnitUtil::errorHandler (   $a_error_obj)
Parameters
$a_error_obj
Exceptions
Exception

Definition at line 47 of file class.ilUnitUtil.php.

References exit.

48  {
49  echo "Error occured: " . get_class($a_error_obj) . "\n";
50  try {
51  throw new Exception("dummy");
52  } catch (Exception $e) {
53  echo($e->getTraceAsString() . "\n\n");
54  }
55  exit();
56  }

The documentation for this class was generated from the following file: