Class AmazonPollyException
Common exception for the Polly service.
public class AmazonPollyException : AmazonServiceException
  - Inheritance
 - 
      
      AmazonPollyException
 
- Derived
 
Constructors
AmazonPollyException(Exception)
Construct instance of AmazonPollyException
public AmazonPollyException(Exception innerException)
  Parameters
innerExceptionException
AmazonPollyException(SerializationInfo, StreamingContext)
Constructs a new instance of the AmazonPollyException class with serialized data.
protected AmazonPollyException(SerializationInfo info, StreamingContext context)
  Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
 The
infoparameter is null.- SerializationException
 The class name is null or HResult is zero (0).
AmazonPollyException(string)
Construct instance of AmazonPollyException
public AmazonPollyException(string message)
  Parameters
messagestring
AmazonPollyException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of AmazonPollyException
public AmazonPollyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
AmazonPollyException(string, Exception)
Construct instance of AmazonPollyException
public AmazonPollyException(string message, Exception innerException)
  Parameters
AmazonPollyException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of AmazonPollyException
public AmazonPollyException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode