Resteasy logs these exceptions. You'd ahve to filter out this in your logger config.
On 6/24/2014 11:48 PM, Johnson, Shawn [USA] wrote: > I am using Resteasy 2.3.3, bundled with JBoss-AS-7.1.3. I'm trying to > throw a new WebAppliationException, and the output (to the client) seems > fine, but I'm left with an unwanted stack trace in my log. I have a few > other Exceptions mapped, and I was wondering if the mapping was somehow > causing an issue trying to wrap this Exception. > > Simple example: > > public class SimpleService { > > @GET > @Path("stuff") > public String getStuff(final @QueryParam("param1") String param1, > @QueryParam("param2") String param2) throws ActionException { > if (param1==null && param2==null) { > throw new WebApplicationException(); > } > > I get the following exception: [WARN] > org.jboss.resteasy.core.SynchronousDispatcher#error - failed to execute: > javax.ws.rs.WebApplicationException > > Any ideas what this error might mean? > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users