[Insight-developers] Backward Compatibility
Bill Lorensen
bill.lorensen at gmail.com
Tue May 13 08:17:15 EDT 2008
Regarding bug: # 0004560 (http://www.itk.org/Bug/view.php?id=4560)
Here we could throw an exception, but use an itkWarningMacro to notify
the user that they should catch the exception. The user program will
still crash, but at least we will notify them before it crashes.
Bill
>>> > # 0004560 (http://www.itk.org/Bug/view.php?id=4560)
>>> > Here, I would vote for reopening the issue and throwing exceptions
>>> > whenever one of the Set... methods is called with the parameter i out of
>>> > bounds. Throwing an error here would not really change ITK's behaviour. It
>>> > would only change the exception handling which is anyways only performed
>>> > in case a user used the class incorrectly. If I were such a user, I would
>>> > be glad to have a changed behaviour here, wouldn't I?
>>> >
>>> > # 0006558 (http://www.itk.org/Bug/view.php?id=6558)
>>> > In the case of this so far unattended but IMHO really severe bug, every
>>> > fix would change behaviour since the current implementation is plain
>>> > wrong. I would have volunteered to work on a fix. However, I don't feel
>>> > experienced enough to work on this bug which is located in the heart of
>>> > ITK - the ImageBase class, esp. since it requires changing ITK's
>>> > behaviour.
>>> >
>>> > Looking forward to your comments,
>>> > Andreas.
More information about the Insight-developers
mailing list