• ObjectReadWriteParts question

Document Actions
Replies: 1   Views: 4221
Up one level
You need to be a registered member to post to this forum. Register now.
Prev topic | Next topic

 • ObjectReadWriteParts question

Posted by amehrabyan at 2004-10-01 12:37
Author: luzgin
Date: Sep 22, 2004 11:04 am (migrated from previous forum)

The question I want to ask: The Object to be red/written needs to be Serializable in order for it to save/recreate it's state into/from structured data/whaterever. Otherwise I return error code, right?
Manager
Posts: 2

 • Re: ObjectReadWriteParts question

Posted by amehrabyan at 2004-10-01 12:37
Author: amehrabyan
Date: Sep 23, 2004 12:11 pm (migrated from previous forum)

Yes only objects implemented java.io.Serializable or java.io.Externalizable interface can be read or write to/from streams.
And error code of course should be returned.
I think we should develop some uniform error reporting mechanizm.
Manager
Posts: 2