ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::MemoryAllocationError Class Reference

#include <itkExceptionObject.h>

+ Inheritance diagram for itk::MemoryAllocationError:
+ Collaboration diagram for itk::MemoryAllocationError:

Detailed Description

Specific exception types that are subclasses of ExceptionObject follow Exception thrown when image memory allocation fails.

Definition at line 168 of file itkExceptionObject.h.

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
using Superclass = std::exception
 

Constructor & Destructor Documentation

itk::MemoryAllocationError::MemoryAllocationError ( )
inlinenoexcept

Default constructor. Needed to ensure the exception object can be copied.

Definition at line 173 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const char *  file,
unsigned int  lineNumber 
)
inline

Constructor. Needed to ensure the exception object can be copied.

Definition at line 176 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const std::string &  file,
unsigned int  lineNumber 
)
inline

Constructor. Needed to ensure the exception object can be copied.

Definition at line 179 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const std::string &  file,
unsigned int  lineNumber,
const std::string &  desc,
const std::string &  loc 
)
inline

Constructor. Needed to ensure the exception object can be copied.

Definition at line 182 of file itkExceptionObject.h.

itk::MemoryAllocationError::~MemoryAllocationError ( )
overridenoexcept

Virtual destructor needed for subclasses. Has to have empty throw().

Member Function Documentation

const char* itk::MemoryAllocationError::GetNameOfClass ( ) const
inlineoverridevirtual

Reimplemented from itk::ExceptionObject.

Definition at line 190 of file itkExceptionObject.h.


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