Exception thrown when performing an invalid operation on an empty container, such as removing an element.

You should use this CONTENIDO exception instead of the standard PHP UnderflowException. This exception type is logged to data/logs/exception.txt.

 Methods

Constructs the Exception.

__construct(string $message, int $code, \Exception $previous) 
Inherited
inherited_from \cException::__construct()
inherited_from \cRuntimeException::__construct()

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()
inherited_from \cRuntimeException::log()

 Properties

 

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

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