if(done.compareAndSet(false, true)) {
try {
if(result == null) {
- procedure.exception(graph, new NoSingleResultException("No items " + procedure));
+ procedure.exception(graph, new NoSingleResultException("No items " + procedure, 0));
} else {
procedure.execute(graph, result);
}
// Shall fire exactly once!
if(done.compareAndSet(false, true)) {
try {
- procedure.exception(graph, new NoSingleResultException("Multiple items " + this.result + " and " + result));
+ procedure.exception(graph, new NoSingleResultException("Multiple items " + this.result + " and " + result, -1));
} catch (Throwable t) {
Logger.defaultLogError(t);
}