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

#include <itkExceptionObject.h>

+ Inheritance diagram for itk::InvalidArgumentError:
+ Collaboration diagram for itk::InvalidArgumentError:

Detailed Description

Exception thrown when invalid argument is given to a method or function.

Definition at line 225 of file itkExceptionObject.h.

Public Member Functions

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

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

Definition at line 232 of file itkExceptionObject.h.

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

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

Definition at line 237 of file itkExceptionObject.h.

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

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

Definition at line 242 of file itkExceptionObject.h.

itk::InvalidArgumentError::~InvalidArgumentError ( )
overridenoexcept

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

Member Function Documentation

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

Reimplemented from itk::ExceptionObject.

Definition at line 247 of file itkExceptionObject.h.


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