Top Description Fields Constructors Methods
javax.usb.event

public Class UsbPipeErrorEvent

extends UsbPipeEvent
Class Inheritance
Imports
javax.usb.*

Indicates an error occurred on the UsbPipe.

This will be fired for all errors on the UsbPipe.

Authors
Dan Streetman, E. Michael Maximilien

Field Summary

Modifier and TypeField and Description
private UsbException

Constructor Summary

AccessConstructor and Description
public
UsbPipeErrorEvent(UsbPipe
The UsbPipe.
source
,
UsbException
The UsbException.
uE
)

Constructor.

public
UsbPipeErrorEvent(UsbPipe
The UsbPipe.
source
,
UsbIrp
The UsbIrp.
uI
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public UsbException

Returns:

The associated UsbException.
getUsbException
()

Get the associated UsbException.

Inherited from javax.usb.event.UsbPipeEvent:
getUsbIrpgetUsbPipehasUsbIrp

Field Detail

usbExceptionback to summary
private UsbException usbException

Constructor Detail

UsbPipeErrorEventback to summary
public UsbPipeErrorEvent(UsbPipe source, UsbException uE)

Constructor.

This should be used only if there is no UsbIrp associated with this event.

Parameters
source:UsbPipe

The UsbPipe.

uE:UsbException

The UsbException.

UsbPipeErrorEventback to summary
public UsbPipeErrorEvent(UsbPipe source, UsbIrp uI)

Constructor.

Parameters
source:UsbPipe

The UsbPipe.

uI:UsbIrp

The UsbIrp.

Method Detail

getUsbExceptionback to summary
public UsbException getUsbException()

Get the associated UsbException.

Returns:UsbException

The associated UsbException.