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(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
|
$_logger | NULL |
#
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. |
$code,
$file,
$line,
$message
|