| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | destroy()
Implements com. Called by the driver when this extension should release any resources it is holding and cleanup internally before the connection is closed. |
| public List | |
| public ExceptionInterceptor | init(Properties
configuration values as passed to the connection. Note that
in order to support javax.sql.DataSources, configuration properties specific
to an interceptor must be passed via setURL() on the
DataSource. Extension properties are not exposed via
accessor/mutator methods on DataSources. properties, Log logger instance log)Implements com. Called once per connection that wants to use the extension The properties are the same ones passed in in the URL or arguments to Driver.connect() or DriverManager.getConnection(). |
| public Exception |
| interceptors | back to summary |
|---|---|
| private List<ExceptionInterceptor> interceptors | |
| ExceptionInterceptorChain | back to summary |
|---|---|
| public ExceptionInterceptorChain(String interceptorClasses, Properties props, Log log) | |
| addRingZero | back to summary |
|---|---|
| public void addRingZero(ExceptionInterceptor interceptor) | |
| destroy | back to summary |
|---|---|
| public void destroy() Implements com. Doc from com. Called by the driver when this extension should release any resources it is holding and cleanup internally before the connection is closed.
| |
| getInterceptors | back to summary |
|---|---|
| public List | |
| init | back to summary |
|---|---|
| public ExceptionInterceptor init(Properties properties, Log log) Implements com. Doc from com. Called once per connection that wants to use the extension The properties are the same ones passed in in the URL or arguments to Driver.connect() or DriverManager.getConnection().
| |
| interceptException | back to summary |
|---|---|
| public Exception interceptException(Exception sqlEx) Implements com.
| |