@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, 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, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PolicyInUseException(String message)
message - Describes the error encountered.