throw new ActionFailedException( response.getStatus(), "unknown", "unknown", null );
}
try {
try ( InputStream inputStream = response.getEntityInputStream() ) {
throw new ActionFailedExceptionSerializer().deserialize( response.getStatus(), inputStream );
}
} catch ( IOException e ) {
throw new RuntimeException( e );
}
}