users@jsr311.java.net

Re: Exception in ExceptionMapper?

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Tue, 29 Jul 2008 16:56:28 +0200

and what if an exception mapper returns null?
A possibility is it to use this to indicate, that the exception should
be rethrown

best regards
   Stephan

Stephan Koops schrieb:
> Hi,
>
> what to do, if an exception mapper throws a Runtime Exception or an
> Error? I propose to do nothing with them, only throw them to the
> container.
> This is also an easy solution to handle RuntimeExceptions and Errors
> from resource methods.
>
> best regards
> Stephan