Class: AdministrationException

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

Class AdministrationException

Class Overview

This represents a AdministrationException.

Located in /CORE/system/classes/exception/AdministrationException.php [line 38]

LogEntry
   |
   --CMSException
      |
      --CoreException
         |
         --AdministrationException
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: AdministrationException.php,v 1.4 2008/11/30 15:18:28 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Descendants
Child Class Description
RequestResultException This represents a RequestResultException, that can be used to create a Exception depending on a AdminRequestResult.
MissingRightException This represents a MissingRightException, using the 403 error code.
WrongArgumentException This represents a WrongArgumentException.

[ 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
AdministrationException   AdministrationException()   Creates a new AdministrationException.
String   getURL()   Gets the URL of this Exception.
void   setURL()   Sets the URL of this Exception. Mostly used for showing Back Links!

[ Top ]
Methods
Constructor AdministrationException  [line 50]

  AdministrationException AdministrationException( int $code, String $message, [String $url = '']  )

Creates a new AdministrationException.

Parameters:
int   $code:  the Error Code
String   $message:  the Error Message
String   $url:  the URL of this Exception (can be used for creating Back links)

API Tags:
Access:  public


[ Top ]
getURL  [line 70]

  String getURL( )

Gets the URL of this Exception.


API Tags:
Return:  thr URL of this Exception


[ Top ]
setURL  [line 61]

  void setURL( String $url  )

Sets the URL of this Exception. Mostly used for showing Back Links!

Parameters:
String   $url:  the URL to go back after displaying the Exception


[ Top ]