public class MailConnectException extends MessagingException
ConnectException,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private int |
cto |
private java.lang.String |
host |
private int |
port |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
MailConnectException(SocketConnectException cex)
Constructs a MailConnectException.
|
| Modifier and Type | Method and 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, toStringprivate java.lang.String host
private int port
private int cto
private static final long serialVersionUID
public MailConnectException(SocketConnectException cex)
cex - the SocketConnectException with the detailspublic java.lang.String getHost()
public int getPort()
public int getConnectionTimeout()