javax.usb.event
Class UsbPipeErrorEvent
java.lang.Object
java.util.EventObject
javax.usb.event.UsbPipeEvent
javax.usb.event.UsbPipeErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class UsbPipeErrorEvent
- extends UsbPipeEvent
Indicates an error occurred on the UsbPipe.
This will be fired for all errors on the UsbPipe.
- Author:
- Dan Streetman, E. Michael Maximilien
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UsbPipeErrorEvent
public UsbPipeErrorEvent(UsbPipe source,
UsbException uE)
- Constructor.
This should be used only if there is no UsbIrp associated with this event.
- Parameters:
source
- The UsbPipe.uE
- The UsbException.
UsbPipeErrorEvent
public UsbPipeErrorEvent(UsbPipe source,
UsbIrp uI)
- Constructor.
- Parameters:
source
- The UsbPipe.uI
- The UsbIrp.
getUsbException
public UsbException getUsbException()
- Get the associated UsbException.
- Returns:
- The associated UsbException.