Exemplo n.º 1
0
 /**
  * Exception handling.
  *
  * @param mixed $result The result to be checked for a PEAR_Error.
  *
  * @return mixed Returns the original result if it was no PEAR_Error.
  *
  * @throws Horde_Exception_Pear In case the result was a PEAR_Error.
  */
 public static function catchError($result)
 {
     self::$_class = __CLASS__;
     return parent::catchError($result);
 }