In a custom ImageJ plugin, before IJ.run(imp, myCommand, myArguments)
I would like to check if myCommand
exists and if not - try another command.
There doesn't seem to be a method for this purpose in the IJ class. What are the alternatives to try {} catch
?