Google App Engine requires me to make objects serializable before I can use it as a session bean. Now I have a Product class, I made this Product class serializable, but one of its constructors and some setters have checked exceptions, these checked exceptions are custom exceptions. My question is: should I serialize these custom exception classes?
Asked
Active
Viewed 285 times
1 Answers
2
If the Exceptions are not a field of your class, there is no need to make them serializable because they won´t be stored. By default Exception are serializable anyway

Daniel Kurka
- 7,973
- 2
- 24
- 43