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

#include <itkDataObject.h>

Detailed Description

Definition at line 111 of file itkDataObject.h.

+ Inheritance diagram for itk::InvalidRequestedRegionError:
+ Collaboration diagram for itk::InvalidRequestedRegionError:

Public Member Functions

const char * GetNameOfClass () const override
 
 InvalidRequestedRegionError () noexcept
 
 InvalidRequestedRegionError (const char *file, unsigned int lineNumber)
 
 InvalidRequestedRegionError (const InvalidRequestedRegionError &orig) noexcept
 
 InvalidRequestedRegionError (const std::string &file, unsigned int lineNumber)
 
InvalidRequestedRegionErroroperator= (const InvalidRequestedRegionError &orig) noexcept
 
 ~InvalidRequestedRegionError () noexcept override=default
 
- Public Member Functions inherited from itk::DataObjectError
 DataObjectError () noexcept
 
 DataObjectError (const char *file, unsigned int lineNumber)
 
 DataObjectError (const DataObjectError &orig) noexcept
 
 DataObjectError (const std::string &file, unsigned int lineNumber)
 
DataObjectErroroperator= (const DataObjectError &orig) noexcept
 
void SetDataObject (DataObject *dobj) noexcept
 
 ~DataObjectError () noexcept override=default
 
const DataObjectGetDataObject () const noexcept
 
- 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
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const 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

◆ InvalidRequestedRegionError() [1/4]

itk::InvalidRequestedRegionError::InvalidRequestedRegionError ( )
noexcept

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

◆ ~InvalidRequestedRegionError()

itk::InvalidRequestedRegionError::~InvalidRequestedRegionError ( )
overridedefaultnoexcept

Destructor. Need to specify empty throw() to avoid warnings.

◆ InvalidRequestedRegionError() [2/4]

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

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

◆ InvalidRequestedRegionError() [3/4]

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

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

◆ InvalidRequestedRegionError() [4/4]

itk::InvalidRequestedRegionError::InvalidRequestedRegionError ( const InvalidRequestedRegionError orig)
noexcept

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

Member Function Documentation

◆ GetNameOfClass()

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

◆ operator=()

InvalidRequestedRegionError& itk::InvalidRequestedRegionError::operator= ( const InvalidRequestedRegionError orig)
noexcept

Operator=. Needed to ensure the exception object can be copied.

◆ PrintSelf()

void itk::InvalidRequestedRegionError::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Print exception information. This method can be overridden by specific exception subtypes. The default is to print out the location where the exception was first thrown and any description provided by the "thrower".

Reimplemented from itk::DataObjectError.


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