|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.biocomfort.SDK.event.ErrorEvent
public class ErrorEvent
A error event which indicates that a runtime error occured in the SDK. The
event is passed to every SDKErrorListener
object that
registered to receive such events using the SDK's
addSDKErrorListener
method.
SDKErrorListener
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ErrorEvent()
Constructs an ErrorEvent object. |
|
ErrorEvent(java.lang.Object source)
Constructs an ErrorEvent object with specifying the source. |
|
ErrorEvent(java.lang.Object source,
ErrorType errorType)
Constructs an ErrorEvent object with specifying the source
and the error type. |
|
ErrorEvent(java.lang.Object source,
ErrorType errorType,
java.lang.String additionalErrorDescription)
Constructs an ErrorEvent object with specifying the source,
the error type and the error description. |
|
ErrorEvent(java.lang.Object source,
ErrorType errorType,
java.lang.String additionalErrorDescription,
java.lang.Throwable causingThrowable)
Constructs an ErrorEvent object with specifying the source,
the error type, the error description and the causing
Throwable . |
|
ErrorEvent(java.lang.Object source,
MedicalDeviceTO medicalDevice,
ErrorType errorType,
java.lang.String additionalErrorDescription,
java.lang.Throwable causingThrowable)
Constructs an ErrorEvent object with specifying the source,
the medical device, the error type, the error description and the
causing Throwable . |
|
ErrorEvent(java.lang.Object source,
MedicalDeviceTO medicalDevice,
ErrorType errorType,
java.lang.String additionalErrorDescription,
java.lang.Throwable causingThrowable,
java.util.Date when)
Constructs an ErrorEvent object with specifying the source,
the medical device, the error type, the error description and the
causing Throwable . |
Method Summary | |
---|---|
java.lang.String |
getAdditionalErrorDescription()
Returns a description string associated with this error event. |
java.lang.Throwable |
getCausingThrowable()
Returns a Throwable object that causes this error event. |
ErrorType |
getErrorType()
Returns the error type associated with this error event. |
MedicalDeviceTO |
getMedicalDevice()
Returns a description of a medical device associated with this action. |
java.util.Date |
getWhen()
Returns the date time of when this error event occurred. |
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 |
Constructor Detail |
---|
public ErrorEvent(java.lang.Object source, MedicalDeviceTO medicalDevice, ErrorType errorType, java.lang.String additionalErrorDescription, java.lang.Throwable causingThrowable, java.util.Date when)
ErrorEvent
object with specifying the source,
the medical device, the error type, the error description and the
causing Throwable
.
source
- the object that originated the eventmedicalDevice
- the description of the medical device with which
the error occurederrorType
- the type of error that occuredadditionalErrorDescription
- a string that may specify or describe
the errorcausingThrowable
- a Throwable
object that causes the
errorwhen
- the date time the event occurredErrorType
public ErrorEvent(java.lang.Object source, MedicalDeviceTO medicalDevice, ErrorType errorType, java.lang.String additionalErrorDescription, java.lang.Throwable causingThrowable)
ErrorEvent
object with specifying the source,
the medical device, the error type, the error description and the
causing Throwable
.
source
- the object that originated the eventmedicalDevice
- the description of the medical device with which
the error occurederrorType
- the type of error that occuredadditionalErrorDescription
- a string that may specify or describe
the errorcausingThrowable
- a Throwable
object that causes the
errorErrorType
public ErrorEvent(java.lang.Object source, ErrorType errorType, java.lang.String additionalErrorDescription, java.lang.Throwable causingThrowable)
ErrorEvent
object with specifying the source,
the error type, the error description and the causing
Throwable
.
source
- the object that originated the eventerrorType
- the type of error that occuredadditionalErrorDescription
- a string that may specify or describe
the errorcausingThrowable
- a Throwable
object that causes the
errorErrorType
public ErrorEvent(java.lang.Object source, ErrorType errorType, java.lang.String additionalErrorDescription)
ErrorEvent
object with specifying the source,
the error type and the error description.
source
- the object that originated the eventerrorType
- the type of error that occuredadditionalErrorDescription
- a string that may specify or describe
the errorErrorType
public ErrorEvent(java.lang.Object source, ErrorType errorType)
ErrorEvent
object with specifying the source
and the error type.
source
- the object that originated the eventerrorType
- the type of error that occuredpublic ErrorEvent(java.lang.Object source)
ErrorEvent
object with specifying the source.
source
- the object that originated the eventpublic ErrorEvent()
ErrorEvent
object.
Method Detail |
---|
public ErrorType getErrorType()
ErrorType
public java.lang.String getAdditionalErrorDescription()
public MedicalDeviceTO getMedicalDevice()
public java.lang.Throwable getCausingThrowable()
Throwable
object that causes this error event.
Throwable
objectpublic java.util.Date getWhen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |