[Insight-developers] Managing Abort in Filters

Joshua Cates cates@sci.utah.edu
Tue, 8 Apr 2003 11:59:29 -0600 (MDT)


Yes, this makes sense.

Josh.


On Tue, 8 Apr 2003, Luis Ibanez wrote:

> Hi Josh,
> 
> Yeap, at the end of the day the user (or the GUI)
> has to deal with the exception. The application
> should be prepared for this since the Abort command
> was actually originated from the user/GUI.
> 
> The only reason for catching in the GenerateData()
> method is for potentially relase memory that has been
> allocated locally. Once this cleanning is done, the
> exception is thrown again.
> 
> 
>    Luis
> 
> 
> --------------------
> 
> Joshua Cates wrote:
> > Hi Luis,
> > 
> > Why not have the user handle this exception?  If a filter is aborted then
> > it cannot produce a correct output and the user must then decide how to
> > proceed.
> > 
> > Josh.
> > 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>