nidas v1.2.3
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
nidas::util::InvalidParameterException Class Reference

#include <InvalidParameterException.h>

Inheritance diagram for nidas::util::InvalidParameterException:
Inheritance graph
[legend]

Public Member Functions

 InvalidParameterException (const std::string &module, const std::string &name, const std::string &msg)
 Create an InvalidParameterException, passing a name of the software or hardware module, the name of the parameter, and a message.
 
 InvalidParameterException (const std::string &message)
 Create an InvalidParameterException, passing a message.
 
Exceptionclone () const
 clone myself (a "virtual" constructor).
 
virtual int getErrno () const
 
virtual std::string toString () const throw ()
 
virtual const char * what () const throw ()
 

Static Public Member Functions

static std::string errnoToString (int err)
 Return string description of an errno (from errno.h).
 

Protected Attributes

std::string _what
 
int _errno
 

Constructor & Destructor Documentation

◆ InvalidParameterException() [1/2]

nidas::util::InvalidParameterException::InvalidParameterException ( const std::string & module,
const std::string & name,
const std::string & msg )
inline

Create an InvalidParameterException, passing a name of the software or hardware module, the name of the parameter, and a message.

Referenced by clone().

◆ InvalidParameterException() [2/2]

nidas::util::InvalidParameterException::InvalidParameterException ( const std::string & message)
inline

Create an InvalidParameterException, passing a message.

Member Function Documentation

◆ clone()

Exception * nidas::util::InvalidParameterException::clone ( ) const
inlinevirtual

clone myself (a "virtual" constructor).

Reimplemented from nidas::util::Exception.

References InvalidParameterException().

◆ errnoToString()

string nidas::util::Exception::errnoToString ( int err)
staticinherited

◆ getErrno()

virtual int nidas::util::Exception::getErrno ( ) const
inlinevirtualinherited

◆ toString()

virtual std::string nidas::util::Exception::toString ( ) const
throw ( )
inlinevirtualinherited

◆ what()

virtual const char * nidas::util::Exception::what ( ) const
throw ( )
inlinevirtualinherited

Member Data Documentation

◆ _errno

int nidas::util::Exception::_errno
protectedinherited

◆ _what

std::string nidas::util::Exception::_what
protectedinherited

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