Be sure to have a default constructor in your enum.
Maybe also non-final fields.
Does your class is on a serializable package, usually the client or
shared ?
On 28 juil, 06:35, Mike Heath <mhe...@apache.org> wrote:
> All enum extend java.lang.Enum which implements java.io.Serializable so
> explicitly implementing Serializable shouldn't make a difference.
>
>
>
> On Tue, Jul 27, 2010 at 9:15 AM, Prashant <nextprash...@gmail.com> wrote:
> > try
>
> > public enum Status *implements **java.io.**Serializable* {
> > ACTIVE, INACTIVE, NA
> > }
>
> > --
> > Prashant
> >www.claymus.com
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment