Class CMSException

Description

Base class for all Exceptions.

DO NOT DIRECTLY USE THIS CLASS, USE SUBCLASSES OF EXCEPTION!

  • version: $Id: CMSException.php,v 1.3 2006/11/26 22:04:12 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Direct descendents
Class Description
CoreException This represents a Core Exception, ONLY to be processed by the System.
Method Summary
CMSException CMSException (int $code, String $message)
int getCode ()
String getMessage ()
boolean logException ()
void toString ()
Methods
Constructor CMSException (line 54)

Creates a new CMSException.

  • access: public
CMSException CMSException (int $code, String $message)
  • int $code: the Error Code
  • String $message: the Error Message
getCode (line 64)

Returns the Error Code.

  • return: the Error Code
int getCode ()
getMessage (line 72)

Returns the Error Message.

  • return: the Eroor Message
String getMessage ()
logException (line 86)

Returns whether this Error should write an Log Message or not.

Might be overwritten by implementing classes!

  • return: whether the Exception is logged or not
boolean logException ()

Redefined in descendants as:
toString (line 76)
void toString ()

Documentation generated by phpDocumentor 1.3.1