Hi,

  Check if your Hibernate.cfg and hbm.xml files are placed in the src folder
and not war.

Exceptions are not serializable, so you need to create a serializable
exception to throw. Any parameter, return object or exception has to
be serializable by GWT which means that it must implement
IsSerializable or Serializable and Exception implements neither.
public interface DOGService extends RemoteService{
   DOG getDOG() throws BadDogException;

}

public interface DOGServiceAsync{
   void getDOG(AsyncCallback cb);

}

public class BadDogException extends SerializableException{
...

}

the async interface never declares exceptions. exceptions are passed
to the onFailure() method of the Callback, not thrown from the method.

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