Example #1
0
 /**
  * Construtor da excecao
  * 
  * @author Hugo Ferreira da Silva
  * @link http://www.hufersil.com.br/
  * @param string $msg   Mensagem a ser disparada
  * @param int    $code  Codigo de erro
  * @return Lumine_Exception
  */
 function __construct($msg, $code)
 {
     $debug = debug_backtrace();
     $bt = array_shift($debug);
     $file = $bt['file'];
     $line = $bt['line'];
     Lumine_log::log($code, $msg, $file, $line);
     parent::__construct($msg, $code);
 }