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/ExceptionHandling.html#ExceptionMappers
 
http://docs.jboss.org/resteasy/docs/2.3.4.Final/userguide/html/ExceptionHandling.html#ExceptionMappers.
--------------------------------------------------------------

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&containerType=14&container=2044]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to