java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.codecrete.usb.USBException
net.codecrete.usb.USBStallException
- All Implemented Interfaces:
Serializable
Exception thrown if a communication on a USB endpoint failed.
If a USB endpoint stalls, it is halted and the halt condition must be cleared
using USBDevice.clearHalt(USBDirection, int)
before communication can resume.
If the control endpoint 0 stalls, it throws this exception but is not halted.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.codecrete.usb.USBException
errorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
USBStallException
Creates a new instance with a message.- Parameters:
message
- the message
-