18 #ifndef sitkExceptionObject_h
19 #define sitkExceptionObject_h
25 #error "sitkMacro.h must be included before sitkExceptionObject.h"
28 #error "sitkCommon.h must be included before sitkExceptionObject.h"
29 #endif // sitkCommon_h
36 class ExceptionObject;
61 unsigned int lineNumber,
62 const std::string & desc)
throw();
75 std::string ToString()
const;
77 const char * what()
const throw();
79 virtual const char * GetNameOfClass()
const;
81 virtual const char * GetLocation()
const;
83 virtual const char * GetDescription()
const;
86 virtual const char * GetFile()
const;
89 virtual unsigned int GetLine()
const;
98 #endif // sitkExceptionObject_h
bool operator==(const NeighborhoodAllocator< TPixel > &lhs, const NeighborhoodAllocator< TPixel > &rhs)
#define SITKCommon_EXPORT
const ExceptionObject * m_PimpleException
The base SimpleITK exception class.