Re: RF: error.getExceptionType() returns null in Receiver#onFailure

2012-05-06 Thread Joshua Kappon
Weird. have you tried throwing another type of exception? On Wednesday, May 2, 2012 6:07:40 PM UTC+3, Gilad Egozi wrote: *Hello* * * *In the server side i have:* public void throwException() throws Exception { throw new NullPointerException(fslkdjflks); } *in the client side i have:*

Re: RF: error.getExceptionType() returns null in Receiver#onFailure

2012-05-06 Thread Jens
Because the DefaultExceptionHandler in RequestFactoryServlet hides server details and only gives you the exception message. See: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/web/bindery/requestfactory/server/DefaultExceptionHandler.java You have to sub

RF: error.getExceptionType() returns null in Receiver#onFailure

2012-05-04 Thread Gilad Egozi
*Hello* * * *In the server side i have:* public void throwException() throws Exception { throw new NullPointerException(fslkdjflks); } *in the client side i have:* _requestFactory.myService().throwException().fire(new ReceiverVoid() { @Override public void onSuccess(Void response) { // TODO