Author: toad
Date: 2006-09-01 17:43:22 +0000 (Fri, 01 Sep 2006)
New Revision: 10324
Modified:
trunk/plugins/JSTUN/JSTUN.java
Log:
better message when fail to connect to STUN server
Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java 2006-09-01 17:35:03 UTC (rev 10323)
+++ trunk/plugins/JSTUN/JSTUN.java 2006-09-01 17:43:22 UTC (rev 10324)
@@ -58,6 +58,8 @@
System.err.println(iaddress.toString() + ": " +
be.getMessage());
} catch (UnknownHostException e) {
System.err.println("Could not find the STUN
server "+stunServer+" : "+e+" - DNS problems? Trying another...");
+ } catch (SocketException e) {
+ System.err.println("Could not connect to the
STUN server: "+stunServer+" : "+e+" - trying another...");
} catch (Exception e) {
System.err.println("Failed to run STUN to
server "+stunServer+": "+e+" - trying another, report if persistent");
e.printStackTrace();