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,
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
|
getOperationDetails, getStatusCode, setStatusCodegetErrorDetails, getMessage, toStringgetHResult, getInnerException, getType, setErrorCode, setHResultaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic 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, 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
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.