aspose file tools
The moose likes Java in General and the fly likes toString( ) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 1865
Hi Giselle
This doesn't sound logical. Can you please post the exception or error you might be getting?
Thanks!
Maulin


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
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( )
 
Similar Threads
Storing serialized objects
Why do String class have toString method?
Turn an String array all into one String?
Variables
how System.out.println(ArrayList al) works?