Main Page | Namespace List | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

UsbException Class Reference

Used when any libusb function returns <0. More...

#include <exceptions.h>

List of all members.

Public Member Functions

 UsbException (const char *file, int line, char *usb_strerror, const string &reason) throw ()
 UsbException (const char *file, int line, char *usb_strerror, const char *reason) throw ()
 UsbException (const UsbException &right) throw ()
virtual ~UsbException () throw ()
virtual const char * what () const throw ()

Private Attributes

string _errorString
string _usberrorString
string _file
int _line


Detailed Description

Used when any libusb function returns <0.

Definition at line 41 of file exceptions.h.


Constructor & Destructor Documentation

UsbException::UsbException const char *  file,
int  line,
char *  usb_strerror,
const string &  reason
throw () [inline]
 

Definition at line 43 of file exceptions.h.

References _errorString, _file, _line, and _usberrorString.

UsbException::UsbException const char *  file,
int  line,
char *  usb_strerror,
const char *  reason
throw () [inline]
 

Definition at line 49 of file exceptions.h.

References _errorString, _file, _line, and _usberrorString.

UsbException::UsbException const UsbException right  )  throw () [inline]
 

Definition at line 55 of file exceptions.h.

References _errorString, _file, _line, and _usberrorString.

virtual UsbException::~UsbException  )  throw () [inline, virtual]
 

Definition at line 61 of file exceptions.h.


Member Function Documentation

virtual const char* UsbException::what  )  const throw () [inline, virtual]
 

Definition at line 62 of file exceptions.h.

References _errorString, _file, _line, and _usberrorString.


Member Data Documentation

string UsbException::_errorString [private]
 

Definition at line 70 of file exceptions.h.

Referenced by UsbException(), and what().

string UsbException::_usberrorString [private]
 

Definition at line 71 of file exceptions.h.

Referenced by UsbException(), and what().

string UsbException::_file [private]
 

Definition at line 72 of file exceptions.h.

Referenced by UsbException(), and what().

int UsbException::_line [private]
 

Definition at line 73 of file exceptions.h.

Referenced by UsbException(), and what().


The documentation for this class was generated from the following file:
Generated on Sun May 29 16:13:38 2005 for yex by doxygen 1.3.7