Hi
Suppose we have a server returning 500 and also choosing to add some
text in the response body.
We can write:
catch (ServerErrorException ex) {
String errorMessage = ex.getResponse().readEntity(String.class);
}
Would it make sense to request that
ex.getMessage() is equivalent to ex.getResponse().readEntity(String.class);
?
Cheers, Sergey