public String getHandlerConfiguration(HttpServletRequest request) throws Exception { String handlerName = request.getParameter("handlerName"); String output; try { output = stub.getHandlerConfiguration(handlerName); } catch (Exception e) { if (e instanceof RegistryException) { return ""; } else { throw e; } } return output; }
public String getHandlerConfiguration(String name) throws RemoteException, ExceptionException { try { return handlerManagementServiceStub.getHandlerConfiguration(name); } catch (RemoteException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new RemoteException(msg, e); } catch (ExceptionException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new ExceptionException(msg, e); } }
public String getHandlerConfiguration(String name) throws RemoteException, ExceptionException { try { return handlerManagementServiceStub.getHandlerConfiguration(name); } catch (RemoteException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new RemoteException(msg, e); } catch (ExceptionException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new ExceptionException(msg, e); } }
public String getHandlerConfiguration(String name) throws RemoteException, ExceptionException { try { return handlerManagementServiceStub.getHandlerConfiguration(name); } catch (RemoteException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new RemoteException(msg, e); } catch (ExceptionException e) { String msg = "Fails to get Handler Configuration"; log.error(msg + " " + e.getMessage()); throw new ExceptionException(msg, e); } }