public void execute(ReadGraphImpl graph, int i) {
Resource resource = processor.querySupport.getResource(i);
if(result != null) {
- exception = new NoSingleResultException("");
+ exception = new NoSingleResultException("", 2);
} else {
result = resource;
}
@Override
public void finished(ReadGraphImpl graph) {
- if(result == null) exception = new NoSingleResultException("");
+ if(result == null) exception = new NoSingleResultException("", 0);
}
@Override