186187188189190191192193194
{ admin.createConnectionFactory(name); } catch (Exception e) { throw new NestedRuntimeException( "createConnectionFactory() operation failed", e); } }
208209210211212213214215216
{ admin.deleteConnectionFactory(name); } catch (Exception e) { throw new NestedRuntimeException( "deleteConnectionFactory() operation failed", e); } }
232233234235236237238239
} log.info("Dumped JNDI context"); } catch (Exception e) { throw new NestedRuntimeException("error dumping JNDI context", e); } }
356357358359360361362363
Object object = cache.find(key); Field f = object.getClass().getDeclaredField(name); f.setAccessible(true); return f.get(object); } catch (Exception e) { throw new NestedRuntimeException(e); } }
406407408409410411412413
4142434445464748
Class oracleConnection = Thread.currentThread().getContextClassLoader().loadClass("oracle.jdbc.driver.OracleConnection"); ping = oracleConnection.getMethod("pingDatabase", new Class[] { Integer.TYPE }); } catch (Exception e) { throw new NestedRuntimeException("Unable to resolve pingDatabase method:", e); } }
110111112113114115116117
public static HandleDelegate getDelegate() { try { final InitialContext ctx = new InitialContext(); return (HandleDelegate) ctx.lookup("java:comp/HandleDelegate"); } catch (NamingException e) { throw new NestedRuntimeException(e); } }
137138139140141142143144145146
{ throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create TypeInfoFactory", t); } } return typeInfoFactory; }
161162163164165166167168169170
{ throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create JoinpointFactoryBuilder", t); } } return joinpointFactoryBuilder; }
10421043104410451046104710481049
} } catch (Exception e) { log.error(e); throw new NestedRuntimeException("JBossCacheSSOClusterManager.endTransaction(): ", e); } }