Hi folks, I am using GWT 2.0 and JBoss. I have the following situation: In my servlet filter is occouring an exception (StaleObjectStateException) but the doFilter Method from the Servlet.Filter superclass has the following construct:
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException So I can just throw IOExceptions or ServletExceptions. But thats not the point. So I throw an ServletException. On the client side I have to handle these Exception. But since the ServletException is a unchecked exception GWT is transforming the Servlet Exception into an InvocationException. The original ServletException is embedded in the InvocationException but I can't catch the ServletException anymore. So is there any possibility to prevent GWT to transform the ServletException into an InvocationException??? So to recap: I'd like to catch an Exception which occours in the Servlet.Filter on the client side, but not with the InvocationException because it is very hard to evaluate the message body. Thanks a lot! -- 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.
