Package com.splout.db.engine.EngineManager

Examples of com.splout.db.engine.EngineManager.EngineException


      long end = System.currentTimeMillis();
      log.info(Thread.currentThread().getName() + ": Query [" + query + "] handled in [" + (end - start)
          + "] ms.");
      return result;
    } catch(SQLException e) {
      throw new EngineException(e);
    } catch(JSONSerDeException e) {
      throw new EngineException(e);
    } finally {
      try {
        if(rs != null) {
          rs.close();
        }
        if(stmt != null) {
          stmt.close();
        }
        connection.close();
      } catch(SQLException e) {
        throw new EngineException(e);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.splout.db.engine.EngineManager.EngineException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.