Hello everyone, is there any way to handle Exceptions in Loadable? Using “try catch” does not work, always generating the same log, and closing Slicer 3D.
" … exit abnormally - Report the problem. "
Hello everyone, is there any way to handle Exceptions in Loadable? Using “try catch” does not work, always generating the same log, and closing Slicer 3D.
" … exit abnormally - Report the problem. "
In C++ errors are often not handled using exceptions. In Slicer, errors are handled by returning error codes/specific values indicating errors.
In your loadable modules, you may decide to use exceptions internally but you must catch all the exceptions that you throw.