Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exceptions used over network

 
Mr.Vipin Dube
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can anybody tell me the different types of exceptions that may occur while
working with the sockets over TCP/IP network layer. For example- when a message is sent but not received by the destination.
Thanks
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Mr. Vipin
A good place to start searching for them is The API documentation for IOExeption. Some of its subclasses are obvious candidates: SocketException, and UnknownHostException ; others, like InterruptedIOException are not so obvious.
[ April 25, 2004: Message edited by: Jose Botella ]
[ April 26, 2004: Message edited by: Jose Botella ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!