@Override public void setClientInfo(Properties properties) throws SQLClientInfoException { try { ManagedConnectionHandle<Connection, ConnectionHandle> mc = getManagedConnection(); mc.getPhysicalConnection().setClientInfo(properties); } catch (SQLClientInfoException e) { connectionError(e); throw e; } catch (SQLException e) { connectionError(e); throw (SQLClientInfoException)new SQLClientInfoException().initCause(e); } }
@Override public void setClientInfo(String s, String s1) throws SQLClientInfoException { try { ManagedConnectionHandle<Connection, ConnectionHandle> mc = getManagedConnection(); mc.getPhysicalConnection().setClientInfo(s, s1); } catch (SQLClientInfoException e) { connectionError(e); throw e; } catch (SQLException e) { connectionError(e); throw (SQLClientInfoException)new SQLClientInfoException().initCause(e); } }
/** * {@inheritDoc} */ @Override public void setClientInfo(String name, String value) throws SQLClientInfoException { try { checkClosed(); delegator.setClientInfo(name, value); } catch (SQLClientInfoException scie) { owner.fireConnectionError(scie); throw scie; } catch (SQLException se) { owner.fireConnectionError(se); SQLClientInfoException scie = new SQLClientInfoException(); scie.initCause(se); throw scie; } }
/** * {@inheritDoc} */ @Override public void setClientInfo(String name, String value) throws SQLClientInfoException { try { checkClosed(); delegator.setClientInfo(name, value); } catch (SQLClientInfoException scie) { owner.fireConnectionError(scie); throw scie; } catch (SQLException se) { owner.fireConnectionError(se); SQLClientInfoException scie = new SQLClientInfoException(); scie.initCause(se); throw scie; } }
/** * {@inheritDoc} */ @Override public void setClientInfo(Properties properties) throws SQLClientInfoException { try { checkClosed(); delegator.setClientInfo(properties); } catch (SQLClientInfoException scie) { owner.fireConnectionError(scie); throw scie; } catch (SQLException se) { owner.fireConnectionError(se); SQLClientInfoException scie = new SQLClientInfoException(); scie.initCause(se); throw scie; } }
/** * {@inheritDoc} */ @Override public void setClientInfo(Properties properties) throws SQLClientInfoException { try { checkClosed(); delegator.setClientInfo(properties); } catch (SQLClientInfoException scie) { owner.fireConnectionError(scie); throw scie; } catch (SQLException se) { owner.fireConnectionError(se); SQLClientInfoException scie = new SQLClientInfoException(); scie.initCause(se); throw scie; } }