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

#include <itkMeshFileReaderException.h>

Detailed Description

Base exception class for IO conflicts.

Definition at line 32 of file itkMeshFileReaderException.h.

+ Inheritance diagram for itk::MeshFileReaderException:
+ Collaboration diagram for itk::MeshFileReaderException:

Public Member Functions

const char * GetNameOfClass () const override
 
 ITK_DEFAULT_COPY_AND_MOVE (MeshFileReaderException)
 
 MeshFileReaderException (const char *file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
 
 MeshFileReaderException (const std::string &file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
 
 ~MeshFileReaderException () 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

◆ ~MeshFileReaderException()

itk::MeshFileReaderException::~MeshFileReaderException ( )
overridenoexcept

Has to have empty throw().

◆ MeshFileReaderException() [1/2]

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

Constructor.

◆ MeshFileReaderException() [2/2]

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

Constructor.

Member Function Documentation

◆ GetNameOfClass()

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

◆ ITK_DEFAULT_COPY_AND_MOVE()

itk::MeshFileReaderException::ITK_DEFAULT_COPY_AND_MOVE ( MeshFileReaderException  )

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