Commit 6fda95bf authored by guilhermeblanco's avatar guilhermeblanco

Merged r3686 into 0.10 branch and trunk

parent 5b834e87
...@@ -41,7 +41,7 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter ...@@ -41,7 +41,7 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter
*/ */
public function filterSet(Doctrine_Record $record, $name, $value) public function filterSet(Doctrine_Record $record, $name, $value)
{ {
throw new Doctrine_Record_Exception('Unknown record property / related component \'' . $name . '\'.'); throw new Doctrine_Record_Exception(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
} }
/** /**
...@@ -52,6 +52,6 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter ...@@ -52,6 +52,6 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter
*/ */
public function filterGet(Doctrine_Record $record, $name) public function filterGet(Doctrine_Record $record, $name)
{ {
throw new Doctrine_Record_Exception('Unknown record property / related component \'' . $name . '\'.'); throw new Doctrine_Record_Exception(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment