An ExceptionHandler (that you can pass to the constructor of the 
RequestFactoryServlet, defaults to… DefaultExceptionHandler) translates any 
exception thrown by your code to a ServerFailure; the same that you'll 
receive on the client side in your Receiver's onFailure.
FWIW, we made one that puts the exception class name and stack-trace to the 
ServerFailure, and makes a call to a Logger (Slf4j in our case); we called 
it VerboseExceptionHandler. We'll likely replace it before releasing, but 
we'll definitely keep the Logger call in.

-- 
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.

Reply via email to