Class LexiconSizeExceededException
Polly exception
public class LexiconSizeExceededException : AmazonPollyException
- Inheritance
-
LexiconSizeExceededException
Constructors
LexiconSizeExceededException(Exception)
Construct instance of LexiconSizeExceededException
public LexiconSizeExceededException(Exception innerException)
Parameters
innerException
Exception
LexiconSizeExceededException(SerializationInfo, StreamingContext)
Constructs a new instance of the LexiconSizeExceededException class with serialized data.
protected LexiconSizeExceededException(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).
LexiconSizeExceededException(string)
Constructs a new LexiconSizeExceededException with the specified error message.
public LexiconSizeExceededException(string message)
Parameters
message
stringDescribes the error encountered.
LexiconSizeExceededException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of LexiconSizeExceededException
public LexiconSizeExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
LexiconSizeExceededException(string, Exception)
Construct instance of LexiconSizeExceededException
public LexiconSizeExceededException(string message, Exception innerException)
Parameters
LexiconSizeExceededException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of LexiconSizeExceededException
public LexiconSizeExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode