AIOUSB::OperationFailedException Class Reference

#include <USBDeviceManager.hpp>

Inheritance diagram for AIOUSB::OperationFailedException:

Inheritance graph
[legend]
Collaboration diagram for AIOUSB::OperationFailedException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 OperationFailedException (int result)
 OperationFailedException (const std::string &message)


Detailed Description

Class OperationFailedException is thrown whenever an operation attempted on a device fails. The message is either generated by this Java class library or consists of the string representation of an error code returned by the AIOUSB module.

Constructor & Destructor Documentation

AIOUSB::OperationFailedException::OperationFailedException ( int  result  )  [inline]

Constructs the exception from an AIOUSB module error code.

Parameters:
result AIOUSB module result code.

AIOUSB::OperationFailedException::OperationFailedException ( const std::string &  message  )  [inline]

Constructs the exception from a simple string message.

Parameters:
message The text of the message.


doxygen