Class UsbStallException

All Implemented Interfaces:
Serializable

public class UsbStallException extends UsbException
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 Details

    • UsbStallException

      public UsbStallException(@NotNull @NotNull String message)
      Creates a new instance with a message.
      Parameters:
      message - the message