public Map<String,String> getMainAtts() { return response.getMainAtts(); }
public Map<String,String> getMainAtts() { return response.getMainAtts(); }
private void processGeneric() throws RemoteSuccessException, RemoteFailureException { StringBuilder sb = new StringBuilder(); String msg = response.getMainMessage(); if(ok(msg)) { sb.append(msg); } boolean useMainChildrenAttr = Boolean.valueOf(response.getMainAtts().get("use-main-children-attribute")); if (useMainChildrenAttr) { sb = processMainChildrenAttribute(response.getMainAtts(), sb); } else { processOneLevel("", null, response.getMainAtts(), sb); } if (response.wasFailure()) { final String cause = response.getCause(); if(ok(cause)){ if (logger.isLoggable(Level.FINER)) { if (sb.length() > 0) sb.append(EOL); sb.append(cause); } throw new RemoteFailureException(sb.toString(), cause); } throw new RemoteFailureException(sb.toString()); } throw new RemoteSuccessException(sb.toString()); }
private void processGeneric() throws RemoteSuccessException, RemoteFailureException { StringBuilder sb = new StringBuilder(); String msg = response.getMainMessage(); if(ok(msg)) { sb.append(msg); } boolean useMainChildrenAttr = Boolean.valueOf(response.getMainAtts().get("use-main-children-attribute")); if (useMainChildrenAttr) { sb = processMainChildrenAttribute(response.getMainAtts(), sb); } else { processOneLevel("", null, response.getMainAtts(), sb); } if (response.wasFailure()) { final String cause = response.getCause(); if(ok(cause)){ if (logger.isLoggable(Level.FINER)) { if (sb.length() > 0) sb.append(EOL); sb.append(cause); } throw new RemoteFailureException(sb.toString(), cause); } throw new RemoteFailureException(sb.toString()); } throw new RemoteSuccessException(sb.toString()); }