ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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)
 A message isn't optional as in build in class Exception. More...
 
 __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 (   $a_message = '',
  $a_code = 0 
)

A message isn't optional as in build in class Exception.

@access public

Reimplemented from ilException.

Reimplemented in ilTestEvaluationException.

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

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

References $code.


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