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