Class HarmoniException

Description

The HarmoniException adds pretty HTML formatting to the built-in exception class.

  • version: $Id: HarmoniException.class.php,v 1.4 2007/09/19 14:04:09 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2007, Middlebury College
  • since: 9/5/07

Located in /harmoni/core/errorHandler/HarmoniException.class.php (line 23)

Exception
   |
   --HarmoniException
Direct descendents
Class Description
DatabaseException This is the root exception for all database exceptions.
Error 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
Variable Summary
boolean $isFatal
string $type
Method Summary
void __construct (string $message, optional $code, [optional $type = ''], [mixed $isFatal = true])
string getType ()
boolean isFatal ()
Variables
boolean $isFatal = true (line 38)
  • access: private
  • since: 9/5/07
string $type = '' (line 31)
  • access: private
  • since: 9/5/07
Methods
Constructor __construct (line 50)

Constructor

  • access: public
  • since: 9/5/07
void __construct (string $message, optional $code, [optional $type = ''], [mixed $isFatal = true])
  • string $message
  • optional $code: integer $code
  • optional $type: string $type

Redefined in descendants as:
getType (line 63)

Answer the type of error (generally the package it occurred in).

  • access: public
  • since: 9/5/07
string getType ()
isFatal (line 74)

Answer true if this exception causes a fatal error if not caught.

  • access: public
  • since: 9/5/07
boolean isFatal ()

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