ITK  4.9.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 226 of file itkExceptionObject.h.

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
typedef std::exception Superclass
 

Constructor & Destructor Documentation

itk::InvalidArgumentError::InvalidArgumentError ( )
inline

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

Definition at line 233 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 238 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 243 of file itkExceptionObject.h.

virtual itk::InvalidArgumentError::~InvalidArgumentError ( )
virtualnoexcept

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

Member Function Documentation

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

Reimplemented from itk::ExceptionObject.

Definition at line 248 of file itkExceptionObject.h.


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