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 Difference between ConnectException and Connection Time Out Exception. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference between ConnectException and Connection Time Out Exception." Watch "Difference between ConnectException and Connection Time Out Exception." New topic
Author

Difference between ConnectException and Connection Time Out Exception.

N.Senthil Kumar
Ranch Hand

Joined: Jul 07, 2009
Posts: 50
May i know the Difference between ConnectException and Connection Time Out Exception.

thanks in advance


N.Senthil Kumar
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Commons HttpClient has ConnectTimeoutException. Is this the exception you are referring to?


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between ConnectException and Connection Time Out Exception.
 
Similar Threads
script time out & page time out in JSP
RMI 003
Error & Exception
Validation of server host string
diff between checked and unchecked exceptions