@Override @Deprecated public boolean parse(InputStream in) throws IOException, QueryResultParseException { try { return parseQueryResultInternal(in, true, false); } catch (QueryResultHandlerException e) { throw new QueryResultParseException(e); } }
throw new QueryResultParseException("Invalid value: " + value); throw new QueryResultParseException("Found an issue with the query result handler", e);
throw new QueryResultParseException("Did not find value attribute under " + bindingStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Unexpected field name: " + fieldName, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
throw new QueryResultParseException("Did not find value attribute under " + bindingStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Unexpected field name: " + fieldName, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
queue.toss(e); } catch (NoClassDefFoundError e) { queue.toss(new QueryResultParseException(e)); } finally { synchronized (closeLock) {
throw new QueryResultParseException("Did not find value attribute under " + bindingStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Unexpected field name: " + fieldName, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing subject for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing predicate for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing object for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
throw new QueryResultParseException("Did not find value attribute under " + bindingStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Unexpected field name: " + fieldName, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing subject for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing predicate for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Missing object for statement: " + bindingStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
throw new QueryResultParseException("Expected SPARQL Results JSON document to start with an Object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Did not find object under " + baseStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results variables when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Expected variable labels to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); List<String> linksList = new ArrayList<String>(); if (jp.nextToken() != JsonToken.START_ARRAY) { throw new QueryResultParseException("Expected links to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected object in head field: " + headStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results bindings when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Found unexpected token in results object: " + jp.getCurrentName(), jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected token in bindings object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
throw new QueryResultParseException("Expected SPARQL Results JSON document to start with an Object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Did not find object under " + baseStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results variables when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Expected variable labels to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); List<String> linksList = new ArrayList<String>(); if (jp.nextToken() != JsonToken.START_ARRAY) { throw new QueryResultParseException("Expected links to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected object in head field: " + headStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results bindings when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Found unexpected token in results object: " + jp.getCurrentName(), jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected token in bindings object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());
throw new QueryResultParseException("Expected SPARQL Results JSON document to start with an Object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Did not find object under " + baseStr + " field", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results variables when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Expected variable labels to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); List<String> linksList = new ArrayList<String>(); if (jp.nextToken() != JsonToken.START_ARRAY) { throw new QueryResultParseException("Expected links to be an array", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected object in head field: " + headStr, jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException( "Found tuple results bindings when attempting to parse SPARQL Results JSON to boolean result"); throw new QueryResultParseException("Found unexpected token in results object: " + jp.getCurrentName(), jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr()); throw new QueryResultParseException("Found unexpected token in bindings object", jp.getCurrentLocation().getLineNr(), jp.getCurrentLocation().getColumnNr());