Thanks for the response.

Yeah, thats exactly what I'd like to do. But where can I catch these
exceptions and turn them into declared exceptions?

(It is not that easy because I am using an Servlet Filter - The
exception is not directly occuring in the RPC but in the doFilter
function which only raises ServletExceptions)

On 10 Jan., 15:07, Paul Robinson <[email protected]> wrote:
> For GWT RPC, the only control you have is to catch all exceptions, and 
> re-throw as an exception that's declared in your RPC interface.
>
> Paul
>
> On 10/01/11 12:48, klemensr wrote:
>
> > Hi!
>
> > Is there any possibility to prevent that GWT is translating any
> > unchecked exception to an "InvocationException"?
>
> > For example a ServletException is thrown - GWT is translating this
> > exception into an InvocationException and capsulates the
> > ServletException in the message body as html text.
>
> > So is there a way to control this translation mechanism manually?
>
> > (I am using GWT 2.0)
>
> > cheers
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to