Changeset 3639

Show
Ignore:
Timestamp:
01/25/08 23:13:04 (18 months ago)
Author:
pookey
Message:

improved exception message

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Record.php

    r3552 r3639  
    18061806        } 
    18071807 
    1808         throw new Doctrine_Record_Exception('Unknown method ' . $method); 
     1808        throw new Doctrine_Record_Exception(sprintf('Unknown method %s::%s', get_class($this), $method)); 
    18091809    } 
    18101810 
  • branches/0.9/lib/Doctrine/Record.php

    r3550 r3639  
    17221722        } 
    17231723         
    1724         throw new Doctrine_Record_Exception('Unknown method ' . $method); 
     1724        throw new Doctrine_Record_Exception(sprintf('Unknown method %s::%s', get_class($this), $method)); 
    17251725    } 
    17261726 
  • trunk/lib/Doctrine/Record.php

    r3590 r3639  
    18421842        } 
    18431843 
    1844         throw new Doctrine_Record_Exception('Unknown method ' . $method); 
     1844        throw new Doctrine_Record_Exception(sprintf('Unknown method %s::%s', get_class($this), $method)); 
    18451845    } 
    18461846