ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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  $msg = get_class($this);
20  }
21 
22  parent::__construct($msg, $code);
23  }
$code
Definition: example_050.php:99

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