Wednesday, February 1, 2012

Re: How do I get the full, server-side stacktrace to the client?

Pass it as the message of the ServerFailure.

(honestly, you really *need* it? users don't need stack traces, developers need them, for debugging; if you're trying to extract some information from the stack trace, then you're doing it wrong: don't throw an exception, but rather return an "error object")

--
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/-/2gNEq1bgQQ0J.
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