Overview

Packages

  • Exception
  • None

Classes

  • Horde_Exception_LastError
  • Horde_Exception_NotFound
  • Horde_Exception_Pear
  • Horde_Exception_PermissionDenied
  • Horde_Exception_Translation
  • Horde_Exception_Wrapped
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Exception_Pear

Horde exception class that converts PEAR errors to exceptions.

Copyright 2008-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Exception
Extended by Horde_Exception_Pear
Package: Exception
Category: Horde
Located at Horde/Exception/Pear.php
Methods summary
public
# __construct( PEAR_Error $error )

Exception constructor.

Exception constructor.

Parameters

$error
The PEAR error.
public static mixed
# catchError( mixed $result )

Exception handling.

Exception handling.

Parameters

$result
The result to be checked for a PEAR_Error.

Returns

mixed
Returns the original result if it was no PEAR_Error.

Throws

Horde_Exception_Pear
In case the result was a PEAR_Error.
API documentation generated by ApiGen