#include <itkDataObject.h>
Exception object for DataObject exceptions.
Definition at line 49 of file itkDataObject.h.
itk::DataObjectError::DataObjectError |
( |
| ) |
|
|
noexcept |
Default constructor. Needed to ensure the exception object can be copied.
itk::DataObjectError::~DataObjectError |
( |
| ) |
|
|
overridedefaultnoexcept |
Destructor. Need to specify empty throw() to avoid warnings.
itk::DataObjectError::DataObjectError |
( |
const char * |
file, |
|
|
unsigned int |
lineNumber |
|
) |
| |
Constructor. Needed to ensure the exception object can be copied.
itk::DataObjectError::DataObjectError |
( |
const std::string & |
file, |
|
|
unsigned int |
lineNumber |
|
) |
| |
Constructor. Needed to ensure the exception object can be copied.
Copy constructor. Needed to ensure the exception object can be copied.
DataObject* itk::DataObjectError::GetDataObject |
( |
| ) |
|
|
noexcept |
Get the data object that is throwing this exception.
virtual const char* itk::DataObjectError::GetNameOfClass |
( |
| ) |
const |
|
virtual |
Operator=. Needed to ensure the exception object can be copied.
virtual void itk::DataObjectError::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
| const |
|
protectedvirtual |
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 in itk::InvalidRequestedRegionError.
void itk::DataObjectError::SetDataObject |
( |
DataObject * |
dobj | ) |
|
|
noexcept |
Set the data object that is throwing this exception.
DataObject* itk::DataObjectError::m_DataObject {nullptr} |
|
private |
The documentation for this class was generated from the following file: