com.biocomfort.SDK.exceptions
Class SDKDeviceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.biocomfort.SDK.exceptions.SDKDeviceException
All Implemented Interfaces:
java.io.Serializable

public class SDKDeviceException
extends java.lang.Exception

Thrown to indicate that an error occured while executing a synchronous SDK method that is associated with a medical device. This exception can be thrown by the methods getDeviceConfigurationsAndWait, setDeviceConfigurationsAndWait, getUserParametersAndWait, setUserParametersAndWait or setDeviceClearMemAndWait.

See Also:
SDK.getDeviceConfigurationsAndWait( com.biocomfort.TO.MedicalDeviceTO, int), SDK.setDeviceConfigurationsAndWait( com.biocomfort.TO.MedicalDeviceTO, int), SDK.getUserParametersAndWait( com.biocomfort.TO.MedicalDeviceTO, com.biocomfort.TO.TO), SDK.setUserParametersAndWait( com.biocomfort.TO.MedicalDeviceTO, com.biocomfort.TO.TO), SDK.setDeviceClearMemAndWait( com.biocomfort.TO.MedicalDeviceTO), Serialized Form

Constructor Summary
SDKDeviceException(ErrorEvent errorEvent)
          Constructs a new SDKDeviceException with the specified error event.
 
Method Summary
 ErrorEvent getErrorEvent()
          Returns the error event that is associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDKDeviceException

public SDKDeviceException(ErrorEvent errorEvent)
Constructs a new SDKDeviceException with the specified error event.

Parameters:
errorEvent - the associated error event object
Method Detail

getErrorEvent

public ErrorEvent getErrorEvent()
Returns the error event that is associated with this exception.

Returns:
the associated error event object