Changeset 4945 for trunk/lib/Doctrine

Show
Ignore:
Timestamp:
09/12/08 14:07:08 (4 months ago)
Author:
romanb
Message:

moved Collection

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Doctrine/ORM/Exceptions/ORMException.php

    r4919 r4945  
    3333 * @author      Konsta Vesterinen <kvesteri@cc.hut.fi> 
    3434 * @author      Roman Borschel <roman@code-factory.org> 
    35  * @todo Rename to DoctrineException 
    3635 */ 
    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     } 
     36class Doctrine_ORM_Exceptions_ORMException extends Doctrine_Shared_Exceptions_DoctrineException 
     37{ 
    5638 
    5739}