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
- cException
Direct known subclasses
cDbException, cErrorException, cLogicException, cRuntimeException, PifaException, SolrException, SolrWarningIndirect 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
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
public
|
#
__construct( string $message, integer $code = 0, Exception $previous = NULL )
Constructs the Exception. |
public
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
boolean
|
$_log_exception | false |
#
Defines if an exception if this type should be logged. May be defined by any exception individually. |
protected
|
$_logger | NULL |
#
Saves an instance of the logger class for logging exceptions in the corresponding log. |
$code,
$file,
$line,
$message
|