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