Starter exception classes for Insight
Josh Cates
cates at rolle.engr.utk.edu
Wed Apr 26 17:15:42 EDT 2000
Hello all,
Exception code is now available in the CVS repository:
/Code/Common/itkExceptionObject.h
/Code/Common/itkExceptionObject.cxx
and examples of its use:
/Testing/Code/Common/itkExceptionObjectTest.cxx
These files provide an infrastructure for exception handling in Insight.
Here's the general idea:
1) a virtual base class ``itkExceptionObject'' that defines the interface
and the default implementation of an exception object
2) subclasses that define the types of exceptions the Insight toolkit
will generate
I have not attempted to tackle item number 2, although I have provided
some plausible working examples. At some point we will all need to
identify and agree on a set of basic error types to use.
Documentation is provided in the code itself. For more information, and
a discussion of classifying exceptions, see the paper
/Documents/itkehandle.pdf in the CVS repository.
Josh.
+--+--+--+--+--+--+--+--+--+--+--+--
Josh Cates
Dept. of Electrical Engineering
University of Tennessee, Knoxville
Email: jecates at utk.edu
Phone: (865) 974-0694
URL: www.cs.utk.edu/~cates
--+--+--+--+--+--+--+--+--+--+--+---
More information about the Insight-developers
mailing list