| 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
java.util.EventObject
      
javax.xml.xquery.XQConnectionEvent
public class XQConnectionEvent
An event object that provides information about the source of a connection-related event. 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. | 
| Methods inherited from class java.util.EventObject | 
|---|
getSource, toString | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
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 event
public 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 application| Method Detail | 
|---|
public XQException getXQException()
XQException for this XQConnectionEvent object.XQException to be thrown or null
  | 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.