255256257258259260261262263264265
throw new EmailException("SMTP server rejected auth: " + e); } } catch (IOException e) { if (client.isConnected()) { try { client.disconnect(); } catch (IOException e2) { } } throw new EmailException(e.getMessage(), e); } catch (EmailException e) {
263264265266267268269270271272273
} throw new EmailException(e.getMessage(), e); } catch (EmailException e) { if (client.isConnected()) { try { client.disconnect(); } catch (IOException e2) { } } throw e; }