public class MailboxConnectionException extends Exception
Constructor and Description |
---|
MailboxConnectionException(String details,
boolean reconnectMaySucceed)
Creates a new MailboxConnectionException.
|
MailboxConnectionException(String details,
Throwable cause)
Creates a new MailboxConnectionException.
|
MailboxConnectionException(String details,
Throwable cause,
boolean reconnectMaySucceed)
Creates a new MailboxConnectionException.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getReconnectMaySucceed()
Indicates whether a reconnect may succeed at a later time.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MailboxConnectionException(String details, boolean reconnectMaySucceed)
details
- string describing the details of the exceptionreconnectMaySucceed
- whether a reconnect at a later time may succeed. A useful case for setting this to
true is when the server is not reachable because it is temporarily down. If for
instance the authentication failed it is better to pass false because this is
usually a configuration problem.public MailboxConnectionException(String details, Throwable cause)
details
- string describing the details of the exceptioncause
- the exception that caused this exceptionpublic MailboxConnectionException(String details, Throwable cause, boolean reconnectMaySucceed)
details
- string describing the details of the exceptioncause
- the exception that caused this exceptionreconnectMaySucceed
- whether a reconnect at a later time may succeed. A useful case for setting this to
true is when the server is not reachable because it is temporarily down. If for
instance the authentication failed it is better to pass false because this is
usually a configuration problem.Copyright © 2019 Communote team. All rights reserved.