ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
class.ilTestException.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once 'Services/Exceptions/classes/class.ilException.php';
5 
15 {
16  public function __construct($msg = '', $code = 0)
17  {
18  if( !strlen($msg) )
19  {
20  $msg = get_class($this);
21  }
22 
23  parent::__construct($msg, $code);
24  }
25 }
26 
Base class for ILIAS Exception handling.
Base Exception for all Exceptions relating to Modules/Test.
__construct($msg='', $code=0)