示例#1
0
 /**
  * Amon Exception handler
  *
  * @param  Exception $e the exception
  * @return bool
  */
 public static function exception_handler(\Exception $e)
 {
     self::handle_exception($e);
     $return = parent::exception_handler($e);
     if ($return !== null) {
         return $return;
     }
 }
示例#2
0
 public static function exception_handler(\Exception $e)
 {
     // Try and stop the cache
     try {
         \CMF\Cache::stop();
     } catch (\Exception $e) {
     }
     parent::exception_handler($e);
 }