X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FError.php;h=2bf7ba92e03997409eee3728851492e5a4d8c7d6;hb=f52694340988cd29f5f80b6392e7662bf33e8bf2;hp=e52e51515a22e94705dbb695b9903043718fb47d;hpb=eb20a972f80acccd2f166e6651692883d2ae70a2;p=civicrm-core.git diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index e52e51515a..2bf7ba92e0 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -39,34 +39,6 @@ require_once 'CRM/Core/Exception.php'; require_once 'Log.php'; -/** - * Class CRM_Exception - */ -class CRM_Exception extends PEAR_Exception { - - /** - * Redefine the exception so message isn't optional. - * - * Supported signatures: - * - PEAR_Exception(string $message); - * - PEAR_Exception(string $message, int $code); - * - PEAR_Exception(string $message, Exception $cause); - * - PEAR_Exception(string $message, Exception $cause, int $code); - * - PEAR_Exception(string $message, PEAR_Error $cause); - * - PEAR_Exception(string $message, PEAR_Error $cause, int $code); - * - PEAR_Exception(string $message, array $causes); - * - PEAR_Exception(string $message, array $causes, int $code); - * - * @param string $message exception message - * @param int $code - * @param Exception $previous - */ - public function __construct($message = NULL, $code = 0, Exception $previous = NULL) { - parent::__construct($message, $code, $previous); - } - -} - /** * Class CRM_Core_Error */