[resteasy] Doubt about request, exception
Fabio Ebner
fabio.ebner at lumera.com.br
Mon Sep 26 08:47:18 EDT 2016
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy/attachments/20160926/8e047a8b/attachment.html
More information about the resteasy
mailing list