public class XQConnectionEvent
extends java.util.EventObject
XQConnectionEvent objects are generated when an application closes a pooled connection and when an error occurs. The XQConnectionEvent object contains the folowing information:
XQException to be thrown to the application| Constructor and Description | 
|---|
| XQConnectionEvent(PooledXQConnection con)Constructs an  XQConnectionEventobject initialized with the givenPooledXQConnectionobject. | 
| XQConnectionEvent(PooledXQConnection con, XQException ex)Constructs an  XQConnectionEventobject initialized with the givenPooledXQConnectionobject andXQExceptionobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| XQException | getXQException()Retrieves the  XQExceptionfor thisXQConnectionEventobject. | 
public XQConnectionEvent(PooledXQConnection con)
XQConnectionEvent object initialized with the given PooledXQConnection object. XQException defaults to null.con - the pooled connection that is the source of the eventpublic XQConnectionEvent(PooledXQConnection con, XQException ex)
XQConnectionEvent object initialized with the given PooledXQConnection object and XQException object.con - the pooled connection that is the source of the eventex - the XQException to be thrown to the applicationpublic XQException getXQException()
XQException for this XQConnectionEvent object.XQException to be thrown or null