Class: MaintenanceException

Source Location: /CORE/system/classes/exception/MaintenanceException.php

Class MaintenanceException

Class Overview

This Exception is thrown when the Consumer Staus is MAINTENANCE and the User is anonymous and there is no Request Parameter called 'ignoreMaintenance'.

Located in /CORE/system/classes/exception/MaintenanceException.php [line 39]

LogEntry
   |
   --CMSException
      |
      --CoreException
         |
         --MaintenanceException
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: MaintenanceException.php,v 1.2 2006/11/26 22:04:12 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From CoreException

CoreException::CoreException()
Creates a new Core Exception.
CoreException::getLayout()
Return the Layout Name these Errors are represented by.

Inherited From CMSException

CMSException::CMSException()
Creates a new CMSException.
CMSException::getCode()
Returns the Error Code.
CMSException::logException()
Returns whether this Error should write an Log Message or not.
CMSException::toString()

Inherited From LogEntry

LogEntry::LogEntry()
Creates a new LogEntry.
LogEntry::getFilename()
LogEntry::getLevel()
Returns the entries leveƶ.
LogEntry::getLinenum()
LogEntry::getMessage()
Returns the Error Message.
LogEntry::getNamespace()
Return the namespace or an empty string, if no namesapce is configured.
LogEntry::setFilename()
LogEntry::setLinenum()
LogEntry::setNamespace()
LogEntry::toString()

[ Top ]
Method Summary
MaintenanceException   MaintenanceException()   Creates a new MaintenanceException.
void   logException()   Do not log Maintenance Exceptions.

[ Top ]
Methods
Constructor MaintenanceException  [line 49]

  MaintenanceException MaintenanceException( int $message, String 1  )

Creates a new MaintenanceException.

Parameters:
String   1:  the Error Message
int   $message:  the Error Code

API Tags:
Access:  public


[ Top ]
logException  [line 57]

  void logException( )

Do not log Maintenance Exceptions.



Redefinition of:
CMSException::logException()
Returns whether this Error should write an Log Message or not.

[ Top ]