[Insight-developers] new specialized ExceptionObject macros

Luis Ibanez luis.ibanez at kitware.com
Sun Nov 14 13:14:24 EST 2010


I certainly like the specialized exceptions    :-)

Maybe we could discussed them as a larger
scale hierarchy on the ITK Wiki.


Bill:
do you have any concerns with these new
exceptions  ?


      Luis


-----------------------------------------------
On Fri, Nov 12, 2010 at 8:34 AM, Matthew McCormick (thewtex) <
matt at mmmccormick.com> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101114/2d587898/attachment.htm>


More information about the Insight-developers mailing list