[cable] [PATCH] Getting itk::exceptions through to Python

Brad King brad.king at kitware.com
Mon Jul 21 08:56:31 EDT 2003


> As I've mentioned previously, ITK error handling is done by throwing
> exceptions and this is causing trouble in the CableSwig wrappings.  At
> the moment, the CableSwig wrapping code does not catch these exceptions,
> meaning that when the wrapped ITK code throws an exception, the whole
> calling process is terminated.  For example:

CABLE and CableSwig are very different.  CABLE will catch exceptions and
convert them to Tcl errors, and python is not yet supported.  ITK now uses
CableSwig instead of CABLE.  This is an ITK issue, and a separate answer
will be posted to that project's list.

-Brad




More information about the cable mailing list