[Insight-developers] new specialized ExceptionObject macros
Matthew McCormick (thewtex)
matt at mmmccormick.com
Fri Nov 12 08:34:35 EST 2010
Hi all,
When addressing a trivial bug, Luis Ibanez came up with some new
macros to declare and instantiate specialized itk::ExceptionObject
classes.
You can check out the new code here:
http://review.source.kitware.com/#change,355
An example application can be found here:
http://review.source.kitware.com/#change,356
Specialized ExceptionObject's would be a Good Thing.
Some points to discuss:
Naming conventions -- Personally, I prefer the convention that when
possible the name of the exception embeds the name of the class it is
associates with. This would make it easy to where the exception came
from and where too look for its definition.
Location -- same file, different file?
Regards,
Matt
More information about the Insight-developers
mailing list