DB_DataObject::raiseError
DB_DataObject::raiseError -- throw an error
Synopsis
object DB_DataObject::raiseError (int $message [, resource $type=NULL [, resource $behaviour=NULL]])
Description
Default error handling is to create a PEAR::Error,
but never return it.
If you need to handle errors you should look at setting the
PEAR_Error callback this is due to the fact it would wreck havoc on the internal methods!
Return value
object [unknown] -
Note
This function can not be called
statically.