}
else if (value instanceof Literal) {
writeLiteral((Literal)value);
}
else {
throw new TupleQueryResultHandlerException("Unknown Value object type: " + value.getClass());
}
}
previousBindings = bindingSet;
}
catch (IOException e) {
throw new TupleQueryResultHandlerException(e);
}
}