ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
52  throw new Exception("dummy");
53  }
54  catch(Exception $e)
55  {
56  echo($e->getTraceAsString()."\n\n");
57  }
58  exit();
59  }

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