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_LastError

Horde exception class that accepts output of error_get_last() as $code and mask itself as that error.

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_LastError
Package: Exception
Category: Horde
Located at Horde/Exception/LastError.php
Methods summary
public
# __construct( mixed $message = null, mixed $code_or_lasterror = null )

Exception constructor

Exception constructor

If $lasterror is passed the return value of error_get_last() (or a matching format), the exception will be rewritten to have its file and line parameters match that of the array, and any message in the array will be appended to $message.

Parameters

$message
<p>The exception message, a PEAR_Error object, or an Exception object.</p>
$code_or_lasterror
<p>Either a numeric error code, or an array from error_get_last().</p>
API documentation generated by ApiGen