mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:51 +01:00
36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* EGroupware API - Exceptions
|
|
*
|
|
* This file defines as set of Exceptions used in eGroupWare.
|
|
*
|
|
* Applications having the need for further exceptions should extends the from one defined in this file.
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package api
|
|
* @subpackage exception
|
|
* @access public
|
|
* @version $Id$
|
|
*/
|
|
|
|
namespace EGroupware\Api;
|
|
|
|
/**
|
|
* EGroupware API - Exceptions
|
|
*
|
|
* All eGroupWare exceptions should extended this class, so we are able to eg. add some logging later.
|
|
*
|
|
* The messages for most exceptions should be translated and ready to be displayed to the user.
|
|
* Only exception to this are exceptions like Exception\AssertionFailed, Exception\WrongParameter
|
|
* or Db\Exception, which are suppost to happen only during program development.
|
|
*/
|
|
class Exception extends \Exception
|
|
{
|
|
// nothing fancy yet
|
|
function __construct($msg=null,$code=100,\Exception $previous=null)
|
|
{
|
|
parent::__construct($msg, $code, $previous);
|
|
}
|
|
} |