usb.core
Class USBException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--usb.core.USBException
All Implemented Interfaces:
java.io.Serializable

public abstract class USBException
extends java.io.IOException

USBException objects indicate USB errors.

See Also:
Serialized Form

Constructor Summary
USBException(java.lang.String descriptive)
          Constructs an exception object representing a USB exception.
 
Method Summary
abstract  boolean isStalled()
          Returns true iff the exception indicates a (bulk) endpoint has stalled; these are used as error indicators in device protocols.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

USBException

public USBException(java.lang.String descriptive)
Constructs an exception object representing a USB exception.
Method Detail

isStalled

public abstract boolean isStalled()
Returns true iff the exception indicates a (bulk) endpoint has stalled; these are used as error indicators in device protocols.


Associated source code is licenced under the LGPL.
See http://jusb.sourceforge.net
This documentation was derived from that source code on 24-Jul-2002.