Class InvalidLexiconException
Polly exception
public class InvalidLexiconException : AmazonPollyException
  - Inheritance
 - 
      
      
      InvalidLexiconException
 
Constructors
InvalidLexiconException(Exception)
Construct instance of InvalidLexiconException
public InvalidLexiconException(Exception innerException)
  Parameters
innerExceptionException
InvalidLexiconException(SerializationInfo, StreamingContext)
Constructs a new instance of the InvalidLexiconException class with serialized data.
protected InvalidLexiconException(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).
InvalidLexiconException(string)
Constructs a new InvalidLexiconException with the specified error message.
public InvalidLexiconException(string message)
  Parameters
messagestringDescribes the error encountered.
InvalidLexiconException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidLexiconException
public InvalidLexiconException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
InvalidLexiconException(string, Exception)
Construct instance of InvalidLexiconException
public InvalidLexiconException(string message, Exception innerException)
  Parameters
InvalidLexiconException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidLexiconException
public InvalidLexiconException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
  Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode