public class SmtpFailedRecipientException extends SmtpException
Represents the exception which arises when the specified recipient is wrong
Constructor and Description |
---|
SmtpFailedRecipientException()
Initializes a new instance of the
SmtpFailedRecipientException class |
SmtpFailedRecipientException(int statusCode,
String failedRecipient)
Initializes a new instance of the
SmtpFailedRecipientException class |
SmtpFailedRecipientException(int statusCode,
String failedRecipient,
String serverResponse)
Initializes a new instance of the
SmtpFailedRecipientException class |
SmtpFailedRecipientException(String message)
Initializes a new instance of the
SmtpFailedRecipientException class |
SmtpFailedRecipientException(String message,
String failedRecipient,
com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
SmtpFailedRecipientException class |
SmtpFailedRecipientException(String message,
Throwable innerException)
Initializes a new instance of the
SmtpFailedRecipientException class |
Modifier and Type | Method and Description |
---|---|
String |
getFailedRecipient()
Failed recipient
|
getStatusCode, setStatusCode
getErrorDetails, getMessage, toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SmtpFailedRecipientException()
Initializes a new instance of the SmtpFailedRecipientException
class
public SmtpFailedRecipientException(String message)
Initializes a new instance of the SmtpFailedRecipientException
class
message
- Error messagepublic SmtpFailedRecipientException(String message, Throwable innerException)
Initializes a new instance of the SmtpFailedRecipientException
class
message
- Error messageinnerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public SmtpFailedRecipientException(int statusCode, String failedRecipient)
Initializes a new instance of the SmtpFailedRecipientException
class
statusCode
- Status codefailedRecipient
- Failed recipientpublic SmtpFailedRecipientException(int statusCode, String failedRecipient, String serverResponse)
Initializes a new instance of the SmtpFailedRecipientException
class
statusCode
- Status codefailedRecipient
- Failed recipientserverResponse
- Server responsepublic SmtpFailedRecipientException(String message, String failedRecipient, com.aspose.ms.System.Exception innerException)
Initializes a new instance of the SmtpFailedRecipientException
class
message
- Error messagefailedRecipient
- Failed recipientinnerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public final String getFailedRecipient()
Failed recipient