Class cItemException.

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!

author Murat Purc
version 0.1
copyright four for business AG
deprecated 2012-09-04 Use one of the cException subclasses instead

 Methods

Constructs the Exception.

__construct(string $message, int $code, \Exception $previous) 
deprecated 2012-09-04 Use one of the cException subclasses instead

Parameters

$message

string

The Exception message to throw.

$code

int

The Exception code.

$previous

\Exception

The previous exception used for the exception chaining.

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

log() 
Inherited
inherited_from \cException::log()

 Properties

 

$_log : boolean
Inherited
inherited_from \cException::$$_log
 

$_logger : \cLog
Inherited
inherited_from \cException::$$_logger