java.io.Serializablepublic class MailConnectException extends MessagingException
ConnectException,
Serialized Form| Constructor | Description |
|---|---|
MailConnectException(com.sun.mail.util.SocketConnectException cex) |
Constructs a MailConnectException.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getConnectionTimeout() |
The timeout used for the connection attempt.
|
java.lang.String |
getHost() |
The host we were trying to connect to.
|
int |
getPort() |
The port we were trying to connect to.
|
getCause, getNextException, setNextException, toStringpublic MailConnectException(com.sun.mail.util.SocketConnectException cex)
cex - the SocketConnectException with the detailspublic java.lang.String getHost()
public int getPort()
public int getConnectionTimeout()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.