JBoss Community

Re: Resteasy, handling and logging of WebApplicationException

created by Martin Kouba in JBoss Web Services - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community