ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::fem::FEMException Class Reference

#include <itkFEMException.h>

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

Detailed Description

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

Definition at line 41 of file itkFEMException.h.

Public Member Functions

 FEMException (const char *file, unsigned int lineNumber, std::string location="Unknown")
 
virtual const char * GetNameOfClass () const
 
virtual ~FEMException () throw ( )
 
- Public Member Functions inherited from itk::ExceptionObject
virtual const char * GetDescription () const
 
virtual const char * GetFile () const
 
virtual unsigned int GetLine () const
 
virtual const char * GetLocation () const
 
ExceptionObjectoperator= (const ExceptionObject &orig)
 
virtual bool operator== (const ExceptionObject &orig)
 
virtual void Print (std::ostream &os) const
 
virtual void SetDescription (const std::string &s)
 
virtual void SetDescription (const char *s)
 
virtual void SetLocation (const std::string &s)
 
virtual void SetLocation (const char *s)
 
virtual const char * what () const throw ( )
 
virtual ~ExceptionObject () throw ( )
 
 ExceptionObject ()
 
 ExceptionObject (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 
 ExceptionObject (const std::string &file, unsigned int lineNumber=0, const std::string &desc="None", const std::string &loc="Unknown")
 
 ExceptionObject (const ExceptionObject &orig)
 

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
typedef std::exception Superclass
 

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 occurred 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 ( )
inlinevirtual

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: