Source for file Abstract_Exception.php
Documentation is available at Abstract_Exception.php
* LAIKA FRAMEWORK Release Notes:
* @filesource Abstract_Exception.php
* @date 2011-05-22 08:50:52 -0400 (Sun, 22 May 2011)
* @author Leonard M. Witzel <witzel@post.harvard.edu>
* @copyright Copyright (c) 2011 Laika Soft <{@link http://oafbot.com}>
* Abstract Laika_Abstract_Exception class.
* @implements Laika_Interface_Exception
//-------------------------------------------------------------------
//-------------------------------------------------------------------
protected $message =
'Unknown exception'; // Exception message
protected $code =
0; // User-defined exception code
protected $file; // Source filename of exception
protected $line; // Source line of exception
//-------------------------------------------------------------------
//-------------------------------------------------------------------
* @param mixed $message (default: null)
* @param int $code (default: 0)
public function __construct($message =
null, $code =
0){
if(!$message) throw
new $this('Unknown '.
get_class($this));
parent::__construct($message, $code);
. "{
$this->getTraceAsString()}";
Documentation generated on Sat, 19 May 2012 02:16:52 -0400 by phpDocumentor 1.4.4