@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidSequenceTokenException extends AWSLogsException
The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken
field in the InvalidSequenceTokenException
message.
PutLogEvents
actions are now always accepted and never return InvalidSequenceTokenException
regardless of receiving an invalid sequence token.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidSequenceTokenException(String message)
Constructs a new InvalidSequenceTokenException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpectedSequenceToken() |
void |
setExpectedSequenceToken(String expectedSequenceToken) |
InvalidSequenceTokenException |
withExpectedSequenceToken(String expectedSequenceToken) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidSequenceTokenException(String message)
message
- Describes the error encountered.public void setExpectedSequenceToken(String expectedSequenceToken)
expectedSequenceToken
- public String getExpectedSequenceToken()
public InvalidSequenceTokenException withExpectedSequenceToken(String expectedSequenceToken)
expectedSequenceToken
-