ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMException.h>
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 |
ExceptionObject & | operator= (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 |
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.
|
inlinevirtual |
Virtual destructor needed for subclasses. Has to have empty throw().
Definition at line 56 of file itkFEMException.h.
|
virtual |
Type related information.
Reimplemented from itk::ExceptionObject.
Reimplemented in itk::fem::FEMExceptionItpackSolver, itk::fem::FEMExceptionLinearSystemBounds, itk::fem::FEMExceptionLinearSystem, itk::fem::FEMExceptionItpackSparseMatrixSbsij, itk::fem::FEMExceptionItpackSparseMatrixSbagn, itk::fem::FEMExceptionSolution, itk::fem::FEMExceptionObjectNotFound, itk::fem::FEMExceptionWrongClass, and itk::fem::FEMExceptionIO.