ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Member Functions
itk::fem::FEMException Class Reference

#include <itkFEMException.h>

+ Inheritance diagram for itk::fem::FEMException:
+ Collaboration diagram for itk::fem::FEMException:

List of all members.

Public Member Functions

 FEMException (const char *file, unsigned int lineNumber, std::string location="Unknown")
virtual const char * GetNameOfClass () const
virtual ~FEMException () throw ( )

Detailed Description

Base class for all exception's that can occur within FEM classes.

Definition at line 41 of file itkFEMException.h.


Constructor & Destructor Documentation

itk::fem::FEMException::FEMException ( const char *  file,
unsigned int  lineNumber,
std::string  location = "Unknown" 
)

Constructor. Must provide a string, that specifies name of the file where the exception occured and an integer for the line number. An optional argument specifies the location (usually the name of the class and member function). Normally you should use __FILE__ and __LINE__ macros to specify file name and line number.

virtual itk::fem::FEMException::~FEMException ( ) throw ( ) [inline, virtual]

Virtual destructor needed for subclasses. Has to have empty throw().

Definition at line 56 of file itkFEMException.h.


Member Function Documentation

virtual const char* itk::fem::FEMException::GetNameOfClass ( ) const [virtual]

The documentation for this class was generated from the following file: