ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

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

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

References exit.

{
echo "Error occured: ".get_class($a_error_obj)."\n";
try
{
throw new Exception("dummy");
}
catch(Exception $e)
{
$this->write($e->getTraceAsString());
}
exit();
}

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