File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes toString( ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "toString( ) " Watch "toString( ) " New topic
Author

toString( )

Giselle Dazzi
Ranch Hand

Joined: Apr 20, 2003
Posts: 168
Hi all,
Im trying to pass a class thru a socket and it will only work if I remove my toString( ) method.
Does anybody know of any issue in using the toString( ) method in a Serializable class ?
Thx


Giselle Dazzi<br />SCJP 1.4
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Giselle
This doesn't sound logical. Can you please post the exception or error you might be getting?
Thanks!
Maulin
Giselle Dazzi
Ranch Hand

Joined: Apr 20, 2003
Posts: 168
Yeah, you are right. It was something wrong I was doing. Thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: toString( )