@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HandshakeConstraintViolationException extends AWSOrganizationsException
The requested operation would violate the constraint identified in the reason code.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
HandshakeConstraintViolationException(String message)
Constructs a new HandshakeConstraintViolationException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason() |
void |
setReason(HandshakeConstraintViolationExceptionReason reason) |
void |
setReason(String reason) |
HandshakeConstraintViolationException |
withReason(HandshakeConstraintViolationExceptionReason reason) |
HandshakeConstraintViolationException |
withReason(String reason) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HandshakeConstraintViolationException(String message)
message - Describes the error encountered.public void setReason(String reason)
reason - HandshakeConstraintViolationExceptionReasonpublic String getReason()
HandshakeConstraintViolationExceptionReasonpublic HandshakeConstraintViolationException withReason(String reason)
reason - HandshakeConstraintViolationExceptionReasonpublic void setReason(HandshakeConstraintViolationExceptionReason reason)
reason - HandshakeConstraintViolationExceptionReasonpublic HandshakeConstraintViolationException withReason(HandshakeConstraintViolationExceptionReason reason)
reason - HandshakeConstraintViolationExceptionReasonCopyright © 2017. All rights reserved.