Closed skodapetr closed 11 years ago
So if I understand, just add calling context.sendMessage(...)
Instead of rethrow DPUException(RDFException), yes.
And question at the very end .. is there possibility to find out .. why there have not been any triples extracted?
No - cause of why I can not find out. I can know only result - no triples extracted.
So I add context.sendMessage(...)
And throw RDFException - fail (as specification)
When I use dbPedia pipeline and set SPARQL Extractor "Extraction failed if there is no triples" .. the execution failed with exception - DPUs should use context.sendMessage(Error .. otherwise backedn print stack trace which is not desired .. Also the exception does not give a reason .. why there are no triples?