#include <itkExceptionObject.h>
Specific exception types that are subclasses of ExceptionObject follow
Exception thrown when image memory allocation fails.
Definition at line 152 of file itkExceptionObject.h.
Public Member Functions | |
ExceptionObject () noexcept=default | |
ExceptionObject (const ExceptionObject &) noexcept=default | |
ExceptionObject (ExceptionObject &&) noexcept=default | |
ExceptionObject (std::string file, unsigned int lineNumber=0, std::string description="None", std::string location={}) | |
const char * | GetNameOfClass () const override |
![]() | |
ExceptionObject () noexcept=default | |
ExceptionObject (const ExceptionObject &) noexcept=default | |
ExceptionObject (ExceptionObject &&) noexcept=default | |
ExceptionObject (std::string file, unsigned int lineNumber=0, std::string description="None", std::string location={}) | |
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" |
|
defaultnoexcept |
Explicitly-defaulted default-constructor. Creates an empty exception object.
|
defaultnoexcept |
Copy-constructor.
|
defaultnoexcept |
Move-constructor.
|
explicit |
|
overridevirtual |
Reimplemented from itk::ExceptionObject.