throw ex;
} catch (IOException e) {
final String message = StringUtils.format(
"Fatal protocol violation: %s", e.getMessage());
final Exception ex = new Exception(message,
new StandardCodedException(
StandardCodedException.ERROR_401_CONNREFUSED, e));
throw ex;
} catch(Throwable t){
final String message = StringUtils.format(
"Generic Exception: %s", t.getMessage());