SampleFileLoadingException Class Reference

The exception thrown when an error occurs during IR sample files loading. More...

Inheritance diagram for SampleFileLoadingException:

Public Member Functions

 SampleFileLoadingException (const char *filename, const char *description) throw ()
 Constructor.
 
 SampleFileLoadingException (const SampleFileLoadingException &other) throw ()
 Copy constructor.
 
virtual ~SampleFileLoadingException () throw ()
 Destructor.
 
const char * description () const throw ()
 Returns the description of the error.
 
const char * filename () const throw ()
 Returns the name of the file with sampled data.
 
SampleFileLoadingExceptionoperator= (const SampleFileLoadingException &other) throw ()
 Copy operator.
 
virtual const char * what () const throw ()
 Returns a C string describing the exception.
 

Detailed Description

The exception thrown when an error occurs during IR sample files loading.

Definition at line 401 of file sensors.h.

Constructor & Destructor Documentation

SampleFileLoadingException ( const char *  filename,
const char *  description 
) throw ()
inline

Constructor.

Parameters
filenamethe name of the file with samples. The buffer for this is at most 256 characters (including the '\0' terminator)
descriptionthe description of the error. The buffer for this is at most 256 characters (including the '\0' terminator)

Definition at line 414 of file sensors.h.

SampleFileLoadingException ( const SampleFileLoadingException other) throw ()
inline

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 430 of file sensors.h.

virtual ~SampleFileLoadingException ( ) throw ()
inlinevirtual

Destructor.

Definition at line 466 of file sensors.h.

Member Function Documentation

const char* description ( ) const throw ()
inline

Returns the description of the error.

Returns
the description of the error

Definition at line 495 of file sensors.h.

const char* filename ( ) const throw ()
inline

Returns the name of the file with sampled data.

Returns
the name of the file with sample data

Definition at line 485 of file sensors.h.

SampleFileLoadingException& operator= ( const SampleFileLoadingException other) throw ()
inline

Copy operator.

Parameters
otherthe exception to copy

Definition at line 446 of file sensors.h.

virtual const char* what ( ) const throw ()
inlinevirtual

Returns a C string describing the exception.

Returns
a C string describing the exception

Definition at line 475 of file sensors.h.


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