public class SMTPException
extends io.vertx.core.impl.NoStackTraceThrowable
Constructor and Description |
---|
SMTPException(String message,
int replyCode,
List<String> replyMessages)
Constructor of SMTPException.
|
Modifier and Type | Method and Description |
---|---|
int |
getReplyCode()
Gets the SMTP reply status code.
|
String |
getReplyMessage()
Gets the SMTP reply message.
|
List<String> |
getReplyMessages()
Gets the SMTP reply messages.
|
boolean |
isPermanent()
Checks if it is a permanent failure, that the reply status code
>= 500 |
boolean |
isTransient()
Checks if it is a transient failure, that the reply status code
>= 400 and < 500 |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getReplyCode()
public List<String> getReplyMessages()
\n
public String getReplyMessage()
public boolean isPermanent()
>=
500public boolean isTransient()
>=
400 and <
500Copyright © 2023 Eclipse. All rights reserved.