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

#include <SampleLengthException.h>

Inheritance diagram for nidas::core::SampleLengthException:
Inheritance graph
[legend]

Public Member Functions

 SampleLengthException (const std::string &msg, size_t val, size_t maxVal)
 
 SampleLengthException (const SampleLengthException &e)
 Copy constructor.
 
virtual ~SampleLengthException () throw ()
 
virtual SampleLengthExceptionclone () const
 
virtual int getErrno () const
 
virtual std::string toString () const throw ()
 
virtual const charwhat () 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

◆ SampleLengthException() [1/2]

nidas::core::SampleLengthException::SampleLengthException ( const std::string & msg,
size_t val,
size_t maxVal )
inline

◆ SampleLengthException() [2/2]

nidas::core::SampleLengthException::SampleLengthException ( const SampleLengthException & e)
inline

Copy constructor.

◆ ~SampleLengthException()

virtual nidas::core::SampleLengthException::~SampleLengthException ( )
throw ( )
inlinevirtual

Member Function Documentation

◆ clone()

virtual SampleLengthException * nidas::core::SampleLengthException::clone ( ) const
inlinevirtual

Reimplemented from nidas::util::Exception.

References SampleLengthException().

◆ 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: