From 7b453f1ab1b3b619a1530ae1a8d637c5fe78e5bb Mon Sep 17 00:00:00 2001 From: pookey Date: Fri, 25 Jan 2008 23:13:04 +0000 Subject: [PATCH] improved exception message --- lib/Doctrine/Record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /**