Examples of QueryException


Examples of br.net.woodstock.rockframework.domain.persistence.orm.query.QueryException

      QueryContextHelper.generateQueryString(context, options);
      return context;
    } catch (QueryException exception) {
      throw exception;
    } catch (Exception exception) {
      throw new QueryException(exception);
    }
  }
View Full Code Here

Examples of br.net.woodstock.rockframework.persistence.orm.query.QueryException

      QueryContextHelper.generateQueryString(context, options);
      return context;
    } catch (QueryException exception) {
      throw exception;
    } catch (Exception exception) {
      throw new QueryException(exception);
    }
  }
View Full Code Here

Examples of com.arnaudpiroelle.marvel.api.exceptions.QueryException

            } else if (r.getStatus() == 404) {
                return new EntityNotFoundException(data.getMessage(), cause);
            } else if (r.getStatus() == 405) {
                //TODO: Method Not Allowed
            } else if (r.getStatus() == 409) {
                return new QueryException(data.getMessage(), cause);
            } else if (r.getStatus() == 429) {
                return new RateLimitException(data.getMessage(), cause);
            }

View Full Code Here

Examples of com.clarkparsia.empire.ds.QueryException

      TupleQueryResult aResult = mConnection.prepareTupleQuery(mQueryLang, theQuery).evaluate();

      return new TupleQueryResultSet(aResult);
    }
    catch (Exception e) {
      throw new QueryException(e);
    }
  }
View Full Code Here

Examples of com.dbxml.db.core.query.QueryException

      try {
         symbols = context.getSymbols();
         idxMgr = context.getIndexManager();
      }
      catch ( DBException e ) {
         throw new QueryException(FaultCodes.QRY_NOT_SUPPORTED, e);
      }
   }
View Full Code Here

Examples of com.gemstone.gemfire.cache.query.QueryException

    System.out.println(bpps.size());
    for (BeanPostProcessor bpp: bpps.values()) {
      System.out.println(bpp.getClass().getSimpleName());
    }
    try {
      gemfireRepo1.doit(new QueryException());
      fail("should throw a query exception");
    } catch (GemfireQueryException e){
     
    }
   
View Full Code Here

Examples of com.github.jmkgreen.morphia.query.QueryException

            dbColl = getCollection(query.getEntityClass());

        WriteResult wr;

        if (query.getSortObject() != null || query.getOffset() != 0 || query.getLimit() > 0)
            throw new QueryException("Delete does not allow sort/offset/limit query options.");

        if (query.getQueryObject() != null)
            if (wc == null)
                wr = dbColl.remove(query.getQueryObject());
            else
View Full Code Here

Examples of com.hazelcast.query.QueryException

            throw new ArrayIndexOutOfBoundsException("Invalid fieldType: " + fieldType);
        }

        PortableFieldExtractor fieldExtractor = FIELD_EXTRACTORS[fieldType];
        if (fieldExtractor == null) {
            throw new QueryException("Field extractor is not defined: " + fieldType);
        }
        return fieldExtractor;
    }
View Full Code Here

Examples of com.hazelcast.query.impl.QueryException

                if (entryValue != null && entryValue.getClass().isAssignableFrom(attributeValue.getClass())) {
                    return attributeValue;
                } else if (type != null) {
                    return type.getConverter().convert(attributeValue);
                } else {
                    throw new QueryException("Unknown attribute type: " + attributeValue.getClass());
                }
            }
        }
View Full Code Here

Examples of com.hp.hpl.jena.query.QueryException

    // Try to select language appropriately here based on the model content
    // type
    Lang lang = WebContent.contentTypeToLang(actualContentType);
    if (!RDFLanguages.isTriples(lang))
      throw new QueryException("Endpoint <" + endpointURL +
          "> returned Content Type: " + actualContentType
          + " which is not a supported RDF graph syntax");
    RDFDataMgr.read(model, in, lang);

    // Skip prefixes ns1, ns2, etc, which are usually
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.