diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index f49e9818b..2c9081b17 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -1841,7 +1841,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count } } - throw new Doctrine_Record_Exception('Unknown method ' . $method); + throw new Doctrine_Record_Exception(sprintf('Unknown method %s::%s', get_class($this), $method)); } /**