Include class name in exception message.
authorJan Schneider <jan@horde.org>
Thu, 20 May 2010 17:16:53 +0000 (19:16 +0200)
committerJan Schneider <jan@horde.org>
Thu, 20 May 2010 17:29:35 +0000 (19:29 +0200)
framework/Db/lib/Horde/Db/Adapter/Base.php

index bff9c38..bd65cdb 100644 (file)
@@ -245,7 +245,7 @@ abstract class Horde_Db_Adapter_Base
             return call_user_func_array(array($this->_schema, $method), $args);
         }
 
-        throw new BadMethodCallException('Call to undeclared method "' . $method . '"');
+        throw new BadMethodCallException('Call to undeclared method "' . get_class($this) . '::' . $method . '"');
     }