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

#include <itkExceptionObject.h>

+ Inheritance diagram for itk::RangeError:
+ Collaboration diagram for itk::RangeError:

Detailed Description

Exception thrown when accessing memory out of range.

Definition at line 199 of file itkExceptionObject.h.

Public Member Functions

const char * GetNameOfClass () const override
 
 RangeError () noexcept
 
 RangeError (const char *file, unsigned int lineNumber)
 
 RangeError (const std::string &file, unsigned int lineNumber)
 
 ~RangeError () 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::RangeError::RangeError ( )
inlinenoexcept

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

Definition at line 204 of file itkExceptionObject.h.

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

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

Definition at line 207 of file itkExceptionObject.h.

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

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

Definition at line 210 of file itkExceptionObject.h.

itk::RangeError::~RangeError ( )
overridenoexcept

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

Member Function Documentation

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

Reimplemented from itk::ExceptionObject.

Definition at line 215 of file itkExceptionObject.h.


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