ITK  4.13.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 () noexceptoverride
- 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 noexceptoverride
virtual ~ExceptionObject () noexceptoverride
 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 ( )

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

Member Function Documentation

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

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