240241242243244245246247248249250251
} } } catch (IllegalAccessException e) { throw new UnhandledException(e); } catch (InvocationTargetException e) { throw new UnhandledException(e); } }
387388389390391392393394395396397
{ throw e; } catch (Exception e) { throw new UnhandledException("Exception in method call : " + method.getName(), e); } finally { // reset accessible value method.setAccessible(accessible);
9192939495969798
context.bind(parts[parts.length - 1], object); } catch (NamingException e) { throw new UnhandledException("Could not bind " + name + " to JNDI", e); } }
108109110111112113114115
initialContext.unbind(name); } catch (NamingException e) { throw new UnhandledException("Could not unbind " + name + " from JNDI", e); } }
180181182183184185186187
return null; } catch (NamingException e) { throw new UnhandledException("Could not get " + name + " from JNDI", e); } }
103104105106107108109110111112
serviceFiles.add(serviceFileEnumerator.nextElement()); } } catch (Exception e) { throw new UnhandledException( "Failed to load " + this.serviceType.getName() + " configured in " + getConfigFileLocation(), e); } return serviceFiles; }
135136137138139140141142143144145146147148149150151152153154155156
} } } catch (Exception e) { throw new UnhandledException("Failed to process service-config: " + serviceFile, e); } finally { if (inputStream != null) { try { inputStream.close(); } catch (Exception e) { throw new UnhandledException("Failed to close " + serviceFile, e); } } } }
422423424425426427428429430431432
9596979899100101102103104
127128129130131132133134135136137138139140141142143144145146147148