1 - How can I get the Exception message from my server? in my server(spring
boot restController) I return one message when Exception with this code:
@ResponseStatus(HttpStatus.NOT_FOUND)
public class UsuarioNotFoundException extends RuntimeException{
public UsuarioNotFoundException(String email) {
super("Usuário não encontrado: " + email + ", Favor verificar
o email ou a senha informados");
}
}
So how can I get this custom error message with RestEasy client?
Show replies by thread