@Generated(value="software.amazon.awssdk:codegen") public final class CodeMismatchException extends CognitoIdentityProviderException implements ToCopyableBuilder<CodeMismatchException.Builder,CodeMismatchException>
This exception is thrown if the provided code does not match what the server was expecting.
Modifier and Type | Class and Description |
---|---|
static interface |
CodeMismatchException.Builder |
Modifier and Type | Method and Description |
---|---|
static CodeMismatchException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeMismatchException.Builder> |
serializableBuilderClass() |
CodeMismatchException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public CodeMismatchException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<CodeMismatchException.Builder,CodeMismatchException>
toBuilder
in class CognitoIdentityProviderException
public static CodeMismatchException.Builder builder()
public static Class<? extends CodeMismatchException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.