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
XQConnectionEvent object initialized with
the given PooledXQConnection object. |
XQConnectionEvent(PooledXQConnection con,
XQException ex)
Constructs an
XQConnectionEvent object initialized with
the given PooledXQConnection object and
XQException object. |
| Modifier and Type | Method and Description |
|---|---|
XQException |
getXQException()
Retrieves the
XQException for this
XQConnectionEvent object. |
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 nullCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.