jQuery in Action, 3rd edition
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serializable" Watch "Serializable" New topic


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

Joined: Jul 08, 2003
Posts: 24195

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]
I agree. Here's the link: http://aspose.com/file-tools
subject: Serializable
It's not a secret anymore!