Fixed exception handling in IJMacroNodeFactory