I have a soap @webservice, and a client sending requests as below:
try { // any webservice confniguration here webservice.call(); } catch (Exception e) { System.out.println("ERROR"); } Now if the connections time out, I'm getting a java.net.socketTimtoutException with stacktrace, plus my error sysouts above. How can I prevent the stacktrace from being printed to console? I don't understand why I ever get it as I'm catching any occuring exception, aren't I?
try/catchblock to see if they are reached likeSystem.out