ILIAS  release_7 Revision v7.30-3-g800a261c036
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
4include_once 'Services/Exceptions/classes/class.ilException.php';
5
15{
16 public function __construct($msg = '', $code = 0)
17 {
18 if (!strlen($msg)) {
19 $msg = get_class($this);
20 }
21
22 parent::__construct($msg, $code);
23 }
24}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Base Exception for all Exceptions relating to Modules/Test.
__construct($msg='', $code=0)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc