LOGGER.error(m, e);
throw new HandlerException(m, e);
}
Object response = null;
MethodInvoker methodInvoker = _methodMap.get(opName);
if (methodInvoker == null) {
final String m = RestEasyMessages.MESSAGES.unableToMapAmongResources(opName, _methodMap.keySet().toString());
throw new HandlerException(m);
}
try {
RESTEasyBindingData restResponse = methodInvoker.invoke(restRequest.getParameters(), restRequest.getHeaders());
restResponse.setOperationName(opName);
Message out = _messageComposer.compose(restResponse, exchange);
// Our transformer magic transforms the entity appropriately here :)
exchange.send(out);
} catch (Exception e) {