Is there any way to raise meaningful errors in KNIME? I am aware of the Breakpoint Node, but I would love to be able to specify some string as an explanation of the error that would then be displayed in the console.
1 Like
With a Java Snippet Node you can use logError() with a custom String and Throwable.
There are also the accompanying logWarn(), logInfo()...
I'm not sure if that's documented anywhere.
Edit: oh sorry, I almost forgot: if you also want the Node to fail, you can throw an Abort().
that works fine, thank you very much!