Class Error

Description

This class is a hold-over from Harmoni's old error Handler, which tried to do some exception-like things in PHP4. The new implementation, just extends the default exception for compatability purposes

  • version: $Id: Error.class.php,v 1.8 2007/09/19 14:04:09 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/errorHandler/Error.class.php (line 18)

Exception
   |
   --HarmoniException
      |
      --Error
Direct descendents
Class Description
FieldNotFoundError
ValueIndexNotFoundError
UnknownDBError This class is a hold-over from Harmoni's old error Handler, which tried to do some exception-like things in PHP4. The new implementation, just extends the default exception for compatability purposes
Method Summary
Error __construct (string $description, [string $type = ""], [boolean $isFatal = true])
Variables
Methods
Constructor __construct (line 30)

The constructor. Create a new error.

  • access: public
Error __construct (string $description, [string $type = ""], [boolean $isFatal = true])
  • string $description: A description of the error.
  • string $type: The type of error. For sorting purposes. ie.: "user", "db", etc.
  • boolean $isFatal: True if the error should halt execution.

Redefinition of:
HarmoniException::__construct()
Constructor

Redefined in descendants as:

Inherited Methods

Inherited From HarmoniException

HarmoniException::__construct()
HarmoniException::getType()
HarmoniException::isFatal()

Documentation generated on Wed, 19 Sep 2007 10:23:02 -0400 by phpDocumentor 1.3.0RC3