Class InvalidS3KeyException
Polly exception
public class InvalidS3KeyException : AmazonPollyException
- Inheritance
-
InvalidS3KeyException
Constructors
InvalidS3KeyException(Exception)
Construct instance of InvalidS3KeyException
public InvalidS3KeyException(Exception innerException)
Parameters
innerException
Exception
InvalidS3KeyException(SerializationInfo, StreamingContext)
Constructs a new instance of the InvalidS3KeyException class with serialized data.
protected InvalidS3KeyException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is null.- SerializationException
The class name is null or HResult is zero (0).
InvalidS3KeyException(string)
Constructs a new InvalidS3KeyException with the specified error message.
public InvalidS3KeyException(string message)
Parameters
message
stringDescribes the error encountered.
InvalidS3KeyException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidS3KeyException
public InvalidS3KeyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
InvalidS3KeyException(string, Exception)
Construct instance of InvalidS3KeyException
public InvalidS3KeyException(string message, Exception innerException)
Parameters
InvalidS3KeyException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidS3KeyException
public InvalidS3KeyException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode