Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationMain
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Exceptions

  • cBadFunctionCallException
  • cBadMethodCallException
  • cDomainException
  • cErrorException
  • cException
  • cFileNotFoundException
  • cInvalidArgumentException
  • cLengthException
  • cLogicException
  • cOutOfBoundsException
  • cOutOfRangeException
  • cOverflowException
  • cRangeException
  • cRuntimeException
  • cUnderflowException
  • cUnexpectedValueException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cException

cException is the base class for all exceptions. You should use this CONTENIDO exception instead of the standard PHP Exception. This exception type is logged to data/logs/exception.txt. If there is a more specific and more appropriate subclass, use the subclass!

Exception
Extended by cException

Direct known subclasses

cDbException, cErrorException, cLogicException, cRuntimeException, SolrException, SolrWarning

Indirect known subclasses

cBadFunctionCallException, cBadMethodCallException, cUnderflowException, cUnexpectedValueException, cDomainException, cFileNotFoundException, cInvalidArgumentException, cLengthException, cOutOfBoundsException, cOutOfRangeException, cOverflowException, cRangeException
Package: Core\Exception
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Simon Sprankel
Located at classes/exceptions/class.exception.php
Methods summary
public
# __construct( string $message, integer $code = 0, Exception $previous = null )

Constructs the Exception.

Constructs the Exception.

Parameters

$message
string
$message The Exception message to throw.
$code
integer
$code The Exception code.
$previous
Exception
$previous The previous exception used for the exception chaining.

Overrides

Exception::__construct()
public
# log( )

Logs this exception no matter if the log flag is set or not.

Logs this exception no matter if the log flag is set or not.

Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected cLog $_logger null
#

Saves an instance of the logger class for logging exceptions in the corresponding log.

Saves an instance of the logger class for logging exceptions in the corresponding log.

protected boolean $_log true
#

Saves whether the exception should be logged - defaults to true.

Saves whether the exception should be logged - defaults to true.

Properties inherited from Exception
$code, $file, $line, $message
CMS CONTENIDO 4.9.0 API documentation generated by ApiGen 2.8.0