wood burning stoves 2.0*
The moose likes Threads and Synchronization and the fly likes InterruptedIOException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "InterruptedIOException" Watch "InterruptedIOException" New topic
Author

InterruptedIOException

Mark Webb
Greenhorn

Joined: Aug 31, 2002
Posts: 10
I have a program that spawns a thread to send an email message to a server. I am using the SMTP protocol level stuff such as HELO, MAIL FROM, DATA..etc( I know not JavaMail ). After I send a HELO to the server, I get an InteruptedIOException on the read. The thread that makes the call to my SMTP class does not die after the exception is thrown because after the exception is caught, the thread name is the same as before the SMTP method is called. So I am really not sure why this is happening.
I have tried to telnet into the server on port 25 and issue the same commands as my program would and I get no errors.
Any ideas ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InterruptedIOException