18 #ifndef itkImageFileReaderException_h
19 #define itkImageFileReaderException_h
20 #include "ITKIOImageBaseExport.h"
31 class ITKIOImageBase_EXPORT ImageFileReaderException :
public ExceptionObject
35 itkTypeMacro(ImageFileReaderException, ExceptionObject);
38 ImageFileReaderException(
const char * file,
40 const char * message =
"Error in IO",
41 const char * loc =
"Unknown")
42 : ExceptionObject(file, line, message, loc)
46 ImageFileReaderException(
const std::string & file,
48 const char * message =
"Error in IO",
49 const char * loc =
"Unknown")
50 : ExceptionObject(file, line, message, loc)