ITK  6.0.0
Insight Toolkit
Public Member Functions | List of all members
itk::ImageFileWriterException Class Reference

#include <itkImageFileWriter.h>

Detailed Description

Base exception class for IO problems during writing.

Definition at line 34 of file itkImageFileWriter.h.

+ Inheritance diagram for itk::ImageFileWriterException:
+ Collaboration diagram for itk::ImageFileWriterException:

Public Member Functions

const char * GetNameOfClass () const override
 
 ImageFileWriterException (const char *file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
 
 ImageFileWriterException (const std::string &file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
 
 ITK_DEFAULT_COPY_AND_MOVE (ImageFileWriterException)
 
 ~ImageFileWriterException () noexcept override
 
- Public Member Functions inherited from itk::ExceptionObject
 ExceptionObject () noexcept=default
 
 ExceptionObject (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 
 ExceptionObject (const ExceptionObject &) noexcept=default
 
 ExceptionObject (ExceptionObject &&) noexcept=default
 
 ExceptionObject (std::string file, unsigned int lineNumber=0, std::string desc="None", std::string loc="Unknown")
 
virtual const char * GetDescription () const
 
virtual const char * GetFile () const
 
virtual unsigned int GetLine () const
 
virtual const char * GetLocation () const
 
ExceptionObjectoperator= (const ExceptionObject &) noexcept=default
 
ExceptionObjectoperator= (ExceptionObject &&) noexcept=default
 
virtual bool operator== (const ExceptionObject &orig) const
 
virtual void Print (std::ostream &os) const
 
virtual void SetDescription (const char *s)
 
virtual void SetDescription (const std::string &s)
 
virtual void SetLocation (const char *s)
 
virtual void SetLocation (const std::string &s)
 
const char * what () const noexcept override
 
 ~ExceptionObject () override
 

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
using Superclass = std::exception
 
- Static Public Attributes inherited from itk::ExceptionObject
static constexpr const char *const default_exception_message = "Generic ExceptionObject"
 

Constructor & Destructor Documentation

◆ ImageFileWriterException() [1/2]

itk::ImageFileWriterException::ImageFileWriterException ( const char *  file,
unsigned int  line,
const char *  message = "Error in IO",
const char *  loc = "Unknown" 
)
inline

Constructor.

Definition at line 43 of file itkImageFileWriter.h.

◆ ImageFileWriterException() [2/2]

itk::ImageFileWriterException::ImageFileWriterException ( const std::string &  file,
unsigned int  line,
const char *  message = "Error in IO",
const char *  loc = "Unknown" 
)
inline

Constructor.

Definition at line 51 of file itkImageFileWriter.h.

◆ ~ImageFileWriterException()

itk::ImageFileWriterException::~ImageFileWriterException ( )
overridenoexcept

Has to have empty throw().

Member Function Documentation

◆ GetNameOfClass()

const char* itk::ImageFileWriterException::GetNameOfClass ( ) const
overridevirtual

◆ ITK_DEFAULT_COPY_AND_MOVE()

itk::ImageFileWriterException::ITK_DEFAULT_COPY_AND_MOVE ( ImageFileWriterException  )

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