javax.xml.xquery
public class XQConnectionEvent extends 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 Summary | |
---|---|
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.
|
Method Summary | |
---|---|
XQException | getXQException()
Retrieves the XQException for this
XQConnectionEvent object.
|
XQConnectionEvent
object initialized with
the given PooledXQConnection
object. XQException
defaults to null
.
Parameters: con the pooled connection that is the source of the event
XQConnectionEvent
object initialized with
the given PooledXQConnection
object and
XQException
object.
Parameters: con the pooled connection that is the source of the event ex the XQException to be thrown to the application
XQException
for this
XQConnectionEvent
object.
Returns: the XQException
to be thrown or null