The base SimpleITK exception class.
More...
#include <sitkExceptionObject.h>
The base SimpleITK exception class.
Definition at line 55 of file sitkExceptionObject.h.
◆ GenericException() [1/5]
itk::simple::GenericException::GenericException |
( |
| ) |
|
|
noexcept |
Default constructor. Needed to ensure the exception object can be copied.
◆ GenericException() [2/5]
◆ GenericException() [3/5]
itk::simple::GenericException::GenericException |
( |
const char * |
file, |
|
|
unsigned int |
lineNumber |
|
) |
| |
|
noexcept |
Constructor. Needed to ensure the exception object can be copied.
◆ GenericException() [4/5]
itk::simple::GenericException::GenericException |
( |
const std::string & |
file, |
|
|
unsigned int |
lineNumber |
|
) |
| |
|
noexcept |
Constructor. Needed to ensure the exception object can be copied.
◆ GenericException() [5/5]
itk::simple::GenericException::GenericException |
( |
const std::string & |
file, |
|
|
unsigned int |
lineNumber, |
|
|
const std::string & |
desc |
|
) |
| |
|
noexcept |
Constructor. Needed to ensure the exception object can be copied.
◆ ~GenericException()
itk::simple::GenericException::~GenericException |
( |
| ) |
|
|
overridenoexcept |
Virtual destructor needed for subclasses. Has to have empty noexcept.
◆ GetDescription()
virtual const char* itk::simple::GenericException::GetDescription |
( |
| ) |
const |
|
virtual |
◆ GetFile()
virtual const char* itk::simple::GenericException::GetFile |
( |
| ) |
const |
|
virtual |
What file did the exception occur in?
◆ GetLine()
virtual unsigned int itk::simple::GenericException::GetLine |
( |
| ) |
const |
|
virtual |
What line did the exception occur in?
◆ GetLocation()
virtual const char* itk::simple::GenericException::GetLocation |
( |
| ) |
const |
|
virtual |
◆ GetNameOfClass()
virtual const char* itk::simple::GenericException::GetNameOfClass |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ operator==()
virtual bool itk::simple::GenericException::operator== |
( |
const GenericException & |
orig | ) |
const |
|
virtual |
◆ ToString()
std::string itk::simple::GenericException::ToString |
( |
| ) |
const |
Return a description of the error
◆ what()
const char* itk::simple::GenericException::what |
( |
| ) |
const |
|
overridenoexcept |
◆ m_PimpleException
std::shared_ptr<const ExceptionObject> itk::simple::GenericException::m_PimpleException |
|
private |
The documentation for this class was generated from the following file: