//Invoke
Metrix.event("doRestCommand() - about to invoke");
Response response;
try {
response = invoc.invoke();
} catch (ClientException ex) {
//Rethrow original execaption (not Throwable) for future processing
if (ex.getCause() != null && ex.getCause() instanceof Exception) {
throw (Exception) ex.getCause();
} else {