hide most DB_DataObject errors

This commit is contained in:
Evan Prodromou 2010-01-28 16:26:55 -05:00
parent 74a03cbe1f
commit 513f8be07a

View File

@ -547,4 +547,9 @@ class Memcached_DataObject extends DB_DataObject
{ {
common_debug("debugDump: " . common_log_objstring($this)); common_debug("debugDump: " . common_log_objstring($this));
} }
function raiseError($message, $type = null, $behaviour = null)
{
throw new ServerException("DB_DataObject error [$type]: $message");
}
} }