ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilTestException Class Reference

Base Exception for all Exceptions relating to Modules/Test. More...

+ Inheritance diagram for ilTestException:
+ Collaboration diagram for ilTestException:

Public Member Functions

 __construct ($msg='', $code=0)
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0)
 A message isn't optional as in build in class Exception. More...
 

Detailed Description

Base Exception for all Exceptions relating to Modules/Test.

Author
Björn Heyser bheys.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 14 of file class.ilTestException.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestException::__construct (   $msg = '',
  $code = 0 
)

Definition at line 16 of file class.ilTestException.php.

References $code.

17  {
18  if( !strlen($msg) )
19  {
20  $msg = get_class($this);
21  }
22 
23  parent::__construct($msg, $code);
24  }
$code
Definition: example_050.php:99

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