Package org.cyclop.model.exception

Examples of org.cyclop.model.exception.QueryException


    } catch (DriverException e) {
      LOG.debug(e.getMessage());
      LOG.trace(e.getMessage(), e);

      status.error.getAndIncrement();
      resultWriter.error(query, new QueryException(e.getMessage(), e), System.currentTimeMillis() - startTime);
    } catch (Exception e) {
      LOG.info("Unknown error while executing parallel import for: " + query + ", Msg:" + e.getMessage());
      LOG.trace(e.getMessage(), e);

      resultWriter.unknownError(query, e, System.currentTimeMillis() - startTime);
View Full Code Here


    LOG.debug("Executing: {} ", cql);
    ResultSet resultSet;
    try {
      resultSet = session.getSession().execute(cql);
    } catch (Exception e) {
      throw new QueryException("Error executing CQL: '" + cql + "', reason: " + e.getMessage(), e);
    }
    return resultSet;
  }
View Full Code Here

TOP

Related Classes of org.cyclop.model.exception.QueryException

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.