Package gov.aps.jca.event
Class ContextExceptionEvent
- java.lang.Object
-
- java.util.EventObject
-
- gov.aps.jca.event.CAEvent
-
- gov.aps.jca.event.ContextExceptionEvent
-
- All Implemented Interfaces:
Serializable
public class ContextExceptionEvent extends CAEvent
An event which indicates an asynchronous exception in a Context. Asynchronous context exceptions occur when a server notify the Context of a remote problem.- See Also:
Context, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelgetChannel()The Channel associated with the exception if any.intgetCount()Returns the element count of the request when the failure occured.DBRgetDBR()Returns the DBR object of the request when the failure occured.DBRTypegetDBRType()Returns the type of the request when the failure occured.StringgetMessage()-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getChannel
public Channel getChannel()
The Channel associated with the exception if any.- Returns:
- the Channel or null if none.
-
getDBRType
public DBRType getDBRType()
Returns the type of the request when the failure occured.
-
getCount
public int getCount()
Returns the element count of the request when the failure occured.
-
getDBR
public DBR getDBR()
Returns the DBR object of the request when the failure occured. Only valid for GET operations.- Returns:
- the DBR object or null if none.
-
getMessage
public String getMessage()
-
-