BioRadio SDK - Java Android  1.1
com.glneurotech.devices.common.CommunicationErrorArgs Class Reference
Inheritance diagram for com.glneurotech.devices.common.CommunicationErrorArgs:
com.tangible.EventArgs

Classes

enum  DaqDeviceError
 

Public Member Functions

final DaqDeviceError getError ()
 
final void setError (DaqDeviceError value)
 
final RuntimeException getException ()
 
final void setException (RuntimeException value)
 
final Signal getSignal ()
 
final void setSignal (Signal value)
 

Additional Inherited Members

- Static Public Attributes inherited from com.tangible.EventArgs
static EventArgs Empty
 

Detailed Description

Contains information specific to a DaqDevice communication error.

Member Function Documentation

◆ getError()

final DaqDeviceError com.glneurotech.devices.common.CommunicationErrorArgs.getError ( )

Gets the type of error event that occured.

Returns
DaqDeviceError

◆ getException()

final RuntimeException com.glneurotech.devices.common.CommunicationErrorArgs.getException ( )

Gets the specific exception attached to this error, if any.

Returns
RuntimeException

◆ getSignal()

final Signal com.glneurotech.devices.common.CommunicationErrorArgs.getSignal ( )

If this error pertains to a particular signal, this is a reference to that signal. Otherwise null.

◆ setError()

final void com.glneurotech.devices.common.CommunicationErrorArgs.setError ( DaqDeviceError  value)

Sets the error type

Parameters
valueTake a DaqDeviceError as parameter.

◆ setException()

final void com.glneurotech.devices.common.CommunicationErrorArgs.setException ( RuntimeException  value)

Sets the specific exception attached to this error, if any.

Parameters
value

The documentation for this class was generated from the following file: