|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.acces.aiousb.OperationFailedException
public class OperationFailedException
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 Summary | |
---|---|
OperationFailedException(int result)
Constructs the exception from an AIOUSB module error code. |
|
OperationFailedException(java.lang.String message)
Constructs the exception from a simple string message. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OperationFailedException(int result)
result
- AIOUSB module result code.public OperationFailedException(java.lang.String message)
message
- The text of the message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |