I tried to do that but it's not possible. As doFilter method is overrided, it can not possible to throw a custom Exception. But please, if you have an example it will be better for me to send me it.
Thanks in advance dialloma 2009/4/18 hazy1 <matt.egyh...@gmail.com> > > Yes, use the GWT RPC classes to return failure or exception to the > client in the servlet filter. > > On Apr 17, 4:49 am, dialloma <malim...@gmail.com> wrote: > > Hello group, > > > > I would like to implement the method or class that will be called > > before each GWT-RPC. Is there any method in GWT to do that ? > > > > I was trying to implement J2EE Filter on GWT server side. But when I > > throw Exception in my filter throws Exception but my GWT-RPC call > > return success. Is there any method to force my GWT-RPC call to return > > onFailure method when I throw exception in my filter. > > Thanks > > dialloma > > > -- Cordialement, DIALLO M. Alimou http://dialloma.blogspot.com/ Cel. 00336 13 39 81 88 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---