#include <itkImageFileWriter.h>
Base exception class for IO problems during writing.
Definition at line 34 of file itkImageFileWriter.h.
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 | |
![]() | |
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 |
ExceptionObject & | operator= (const ExceptionObject &) noexcept=default |
ExceptionObject & | operator= (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 | |
![]() | |
using | Superclass = std::exception |
![]() | |
static constexpr const char *const | default_exception_message = "Generic ExceptionObject" |
|
inline |
Constructor.
Definition at line 43 of file itkImageFileWriter.h.
References itk::ExceptionObject::ExceptionObject().
Referenced by GetNameOfClass(), and ITK_DEFAULT_COPY_AND_MOVE().
|
inline |
Constructor.
Definition at line 51 of file itkImageFileWriter.h.
References itk::ExceptionObject::ExceptionObject().
|
overridenoexcept |
Has to have empty throw().
|
overridevirtual |
Reimplemented from itk::ExceptionObject.
References ImageFileWriterException().
itk::ImageFileWriterException::ITK_DEFAULT_COPY_AND_MOVE | ( | ImageFileWriterException | ) |
References ImageFileWriterException().