javax.usb.event
Class UsbDeviceErrorEvent
java.lang.Object
  
java.util.EventObject
      
javax.usb.event.UsbDeviceEvent
          
javax.usb.event.UsbDeviceErrorEvent
- All Implemented Interfaces: 
 - java.io.Serializable
 
public class UsbDeviceErrorEvent
- extends UsbDeviceEvent
 
Indicates an error occurred on the Default Control Pipe.
 
 This will be fired for all errors on the Default Control Pipe.
- Author:
 
  - Dan Streetman, E. Michael Maximilien
 
- See Also:
 - Serialized Form
 
 
 
 
| Methods inherited from class java.util.EventObject | 
getSource, toString | 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
UsbDeviceErrorEvent
public UsbDeviceErrorEvent(UsbDevice source,
                           UsbControlIrp irp)
- Constructor.
- Parameters:
 source - The UsbDevice.irp - The UsbControlIrp associated with this error.
 
getUsbException
public UsbException getUsbException()
- Get the associated UsbException.
- Returns:
 - The associated UsbException.
 
 
 
getUsbControlIrp
public UsbControlIrp getUsbControlIrp()
- Get the UsbControlIrp associated with this event.
- Returns:
 - The UsbControlIrp.