Hi,
I've been working with GWT 2.4 and trying to send an authorization
exception from server to client whitout success.
1) Server:
A - Raise ReportableException throught report() on my
ServiceLayerDecorator.
B – Send the following JSON to the client:
{"S":[false],"I":[{"F":true,"M":"Não
autorizado","X":"com.google.web.bindery.requestfactory.server.ReportableException"}]}
2) Client:
AbstractRequestContext doesn't enter on processPayload() → if
(response.getGeneralFailure() != null) because it doesn't find key
“F” (but “F” is there, isn't??)
What is wrong?
Is it the right way to treat this kind of exception?
Thank you.
--
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.