Hello,
the DefaultExceptionHandler is not doing much. As you can see it only sends the message over the wire.
I think you should hook in your own implementation of an ExceptionHandler.
My ExceptionHandler, for example, sends the exception class over to the client, too. I don't know how far you can go (sending the whole stacktrace or sth.).
To use it you also need to extend RequestFactoryServlet and pass your own ExceptionHandler implementation in the constructor.
public MyRequestFactoryServlet() {
super(new MyExceptionHandler());
}
and add this Servlet to your web.xml for sure!
Regards
Alex
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/InnkUvczgLgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment