@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerificationException extends AmazonSNSException
Indicates that the one-time password (OTP) used for verification is invalid.
AmazonServiceException.ErrorType
Constructor and Description |
---|
VerificationException(String message)
Constructs a new VerificationException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getStatus()
The status of the verification error.
|
void |
setStatus(String status)
The status of the verification error.
|
VerificationException |
withStatus(String status)
The status of the verification error.
|
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 VerificationException(String message)
message
- Describes the error encountered.public void setStatus(String status)
The status of the verification error.
status
- The status of the verification error.public String getStatus()
The status of the verification error.
public VerificationException withStatus(String status)
The status of the verification error.
status
- The status of the verification error.Copyright © 2024. All rights reserved.