Source for file Exception.php
Documentation is available at Exception.php
* "THE BEER-WARE LICENSE" (Revision 42):
* "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
* As long as you retain this notice you can do whatever you want with
* this stuff. If we meet some day, and you think this stuff is worth it,
* you can buy me a beer in return.
* @package Console_Application
* @copyright Copyright (c) 2009 Sven Strittmatter
* @package Console_Application
* @copyright Copyright (c) 2009 Sven Strittmatter
parent::__construct($message, $code);
* Formats the excpetion so we can echo it direct to the CLI.
return 'Excpetion: ' . $this->getMessage() .
' [Code: ' . $this->getCode() . ']' . PHP_EOL;
|