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