AIOUSB::OperationFailedException Class Reference
#include <USBDeviceManager.hpp>
List of all members.
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. |