I am trying to send a custom Exception from the server side to the client
via RPC.

Here is my current set up:

serviceImpl throws ErrorException

service: throws ErrorException

serviceAsync: throws ErrorException

ErrorException extends IllegalArgumentException implements IsSerializable


In my onFailure method of my AsyncCallback i get the following error in my
dev console when it catches the Exception:

com.google.gwt.dev.shell.
HostedModeException: Something other than an int was returned from JSNI
method
'@com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader::readInt()':
JS value of type undefined, expected int

any help would be greatly appreciated.

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

Reply via email to