Serializing Exceptions with GWT-RPC

2009-08-04 Thread davis
Hi, I have tried the following: public class UserNotFoundException extends Exception implements Serializable { // serial uid private static final long serialVersionUID = 1L; public UserNotFoundException(String msg) { super(msg); } } ...and then in my service interface:

Re: Serializing Exceptions with GWT-RPC

2009-08-04 Thread Paul Robinson
To be gwt-serializable, you must have a no-arg constructor davis wrote: Hi, I have tried the following: public class UserNotFoundException extends Exception implements Serializable { // serial uid private static final long serialVersionUID = 1L; public

Re: Serializing Exceptions with GWT-RPC

2009-08-04 Thread davis
Thanks Paul -- just figured that out. Would be a great time-saver if it told me that explicitly :) On Aug 4, 10:22 am, Paul Robinson ukcue...@gmail.com wrote: To be gwt-serializable, you must have a no-arg constructor davis wrote: Hi, I have tried the following: public class