Martin Kouba [
https://community.jboss.org/people/mkouba] created the discussion
"Re: Resteasy, handling and logging of WebApplicationException"
To view the discussion, visit:
https://community.jboss.org/message/751066#751066
--------------------------------------------------------------
You can write you own ExceptionMapper for any exception, incl. the built-in
WebApplicationException, and return any response you want (and skip RESTEasy logging).
Have a look at javax.ws.rs.ext.ExceptionMapper in JAX-RS API. See also
http://docs.jboss.org/resteasy/docs/2.3.4.Final/userguide/html/ExceptionH...
http://docs.jboss.org/resteasy/docs/2.3.4.Final/userguide/html/ExceptionH....
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/751066#751066]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]