public class MailConnectException extends MessagingException
ConnectException,
Serialized Form| Constructor and Description |
|---|
MailConnectException(SocketConnectException cex)
Constructs a MailConnectException.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectionTimeout()
The timeout used for the connection attempt.
|
String |
getHost()
The host we were trying to connect to.
|
int |
getPort()
The port we were trying to connect to.
|
getCause, getNextException, setNextException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic MailConnectException(SocketConnectException cex)
cex - the SocketConnectException with the detailspublic String getHost()
public int getPort()
public int getConnectionTimeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.