This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Serializable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serializable" Watch "Serializable" New topic
Author

Serializable

Candy Bortniker
Ranch Hand

Joined: Mar 17, 2003
Posts: 123
I am getting this error when I try to write to the file, NotSerializableException. How do I fix this? This is the code that I think is throwing the error.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24189
    
  34

The object pointed to by "transaction" must belong to a class that declares that it "implements java.io.Serializable", or you'll get this exception.


[Jess in Action][AskingGoodQuestions]
 
Have you checked out Aspose?
 
subject: Serializable
 
jQuery in Action, 3rd edition