abstract:
} catch (UnknownHostException e) {
System.out.println("COULD NOT FIND HOST... ");
System.exit(1);
..
..
..
hello,o
i am throwin an UnknownHostException and its takign too liong to appear on the screen..any thought???
Code:- private void connect() {
- try {
- connected = false;
- in = InetAddress.getByName(requestedSmtpServer);
- } catch (UnknownHostException e) {
- System.out.println("COULD NOT FIND HOST... ");
- System.exit(1);
- ..
- ..
- ..
Copy Code |