a unit test with an exception mapper: http://svn.apache.org/repos/asf/openejb/trunk/openejb/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/CustomExceptionMapperTest.java
note: in tomee 1.0.0 you'll not get the exception directly if your rest service is an ejb, you'll need to map OpenEJBException. That's fixed on trunk - Romain 2012/5/25 Jean-Louis MONTEIRO <[email protected]> > Hi, > > Do you think about something like we can find in Spring? > In any case, fill a JIRA with what you have in mind and shoot again here. > > We be more than happy to hack if possible (or you can also provide us with > a patch ;-)). > > Jean-Louis > > > 2012/5/25 stx_g <[email protected]> > > > Hi All. > > > > Is it possible to register an ExceptionMapper provider in TomEE+? > > > > > > Thanks. > > > > > > - Stefano > > > > > > > > -- > > View this message in context: > > > http://openejb.979440.n4.nabble.com/ExceptionMapper-provider-tp4654373.html > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > >
