Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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, PifaException, SolrException, SolrWarning

Indirect known subclasses

cBadFunctionCallException, cBadMethodCallException, cUnderflowException, cUnexpectedValueException, PifaDatabaseException, PifaIllegalStateException, PifaMailException, PifaNotImplementedException, PifaNotYetStoredException, PifaValidationException, 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 )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Parameters

$message
string
$message The Exception message to throw.
$code
integer
$code [optional] The Exception code.
$previous
Exception
$previous [optional] 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(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected boolean $_log_exception false
#

Defines if an exception if this type should be logged. May be defined by any exception individually.

Defines if an exception if this type should be logged. May be defined by any exception individually.

See

CON-1690
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.

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