2008-09-12 13:08:01 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class Doctrine_Common_Exceptions_DoctrineException extends Exception
|
|
|
|
{
|
|
|
|
private $_innerException;
|
|
|
|
|
|
|
|
public function __construct($message = "", Exception $innerException = null)
|
|
|
|
{
|
|
|
|
parent::__construct($message);
|
|
|
|
$this->_innerException = $innerException;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getInnerException()
|
|
|
|
{
|
|
|
|
return $this->_innerException;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function notImplemented($method, $class)
|
|
|
|
{
|
2008-12-18 14:08:11 +00:00
|
|
|
return new self("The method '$method' is not implemented in class '$class'.");
|
2008-09-12 13:08:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|