/**
  * @author gdulski
  * @param _con
  * @return nothing
  *     <p>call the closeConnection() of WebAppConnection class
  */
 protected void closeConnection() throws OptInCustomerException {
   try {
     WebAppConnection.getWebAppConnection().closeConnection();
   } catch (Exception _e) {
     AppLog.writeErrorLog("Closing dB Connection Failure.  Skip remaining job " + _e.getMessage());
     System.out.println("Closing dB Connection Failure.  Skip remaining job " + _e.getMessage());
     throw new OptInCustomerException(
         "Close dB Connection Failure.  Skip remaining job " + _e.getMessage());
   }
 }
 protected void init() {
   try {
     _con = WebAppConnection.getWebAppConnection().getConnection();
   } catch (OptInCustomerException ex) {
     AppLog.writeAuditLog(
         "OptIN Driver OptInCustomerException: no connection to dB " + ex.getMessage());
     System.out.println(
         "OptIN Driver OptInCustomerException: no connection to dB " + ex.getMessage());
     System.exit(1);
   } catch (Exception exe) {
     AppLog.writeAuditLog("OptIN Driver Exception: " + exe.getMessage());
     System.out.println("OptIn Driver Exception : " + exe.getMessage());
     System.exit(1);
   }
 }