Ejemplo n.º 1
0
 /**
  * Shows exception message if debug mode is enabled, redirects otherwise.
  *
  * @param oxConnectionException $oEx message to show on exit
  */
 protected function _handleDbConnectionException($oEx)
 {
     $oEx->debugOut();
     if ($this->_isDebugMode()) {
         oxRegistry::getUtils()->showMessageAndExit($oEx->getString());
     }
     oxRegistry::getUtils()->redirectOffline();
 }