@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyInUseException extends AWSOrganizationsException
The policy is attached to one or more entities. You must detach it from all roots, organizational units (OUs), and accounts before performing this operation.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
PolicyInUseException(String message)
Constructs a new PolicyInUseException with the specified error message.
|
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 PolicyInUseException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.