jain.protocol.ss7.tcap
Class TcapErrorEvent
java.lang.Object
|
+--java.util.EventObject
|
+--jain.protocol.ss7.tcap.TcapErrorEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class TcapErrorEvent
- extends java.util.EventObject
- implements java.io.Serializable, java.lang.Cloneable
This Event may be emitted by a
JainTcapProvider if the Provider encounters an Error that cannot be
passed to all registered JainTcapListeners
through normal TCAP error handling mechanisms.
- Version:
- 1.1
- Author:
- Sun Microsystems Inc.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
TcapErrorEvent(java.lang.Object source,
java.lang.Object error)
Constructs a new TcapErrorEvent containing the user defined error object. |
Method Summary |
java.lang.Object |
getError()
Gets the Error attribute of the TcapErrorEvent object |
void |
setError(java.lang.Object error)
Sets the Error attribute of the TcapErrorEvent object |
java.lang.String |
toString()
String representation of class TcapErrorEvent |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TcapErrorEvent
public TcapErrorEvent(java.lang.Object source,
java.lang.Object error)
- Constructs a new TcapErrorEvent containing the user defined error object.
- Parameters:
source
- the new Object source supplied to the constructorerror
- the new error supplied to the constructor
setError
public void setError(java.lang.Object error)
- Sets the Error attribute of the TcapErrorEvent object
- Parameters:
error
- The new Error value
getError
public java.lang.Object getError()
- Gets the Error attribute of the TcapErrorEvent object
- Returns:
- The Error value
toString
public java.lang.String toString()
- String representation of class TcapErrorEvent
- Overrides:
toString
in class java.util.EventObject
- Returns:
- String provides description of class TcapErrorEvent
Email comments to [email protected]