| 37 | | class Doctrine_ORM_Exceptions_ORMException extends Exception |
| 38 | | { |
| 39 | | private $_innerException; |
| 40 | | |
| 41 | | public function __construct($message = "", Exception $innerException = null) |
| 42 | | { |
| 43 | | parent::__construct($message); |
| 44 | | $this->_innerException = $innerException; |
| 45 | | } |
| 46 | | |
| 47 | | public function getInnerException() |
| 48 | | { |
| 49 | | return $this->_innerException; |
| 50 | | } |
| 51 | | |
| 52 | | public static function notYetImplemented($method, $class) |
| 53 | | { |
| 54 | | return new self("The method '$method' is not implemented in the class '$class'."); |
| 55 | | } |
| | 36 | class Doctrine_ORM_Exceptions_ORMException extends Doctrine_Shared_Exceptions_DoctrineException |
| | 37 | { |