Package com.amazonaws
Class AmazonServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException
,AccessDeniedException
,AccessDeniedException
,AccessDeniedException
,AccessToSnapshotDeniedException
,ActionNotFoundException
,ActionTypeNotFoundException
,AgentsAlreadyRunningAssessmentException
,AliasExistsException
,AlreadyExistsException
,AlreadyExistsException
,AlreadyExistsException
,AlreadyExistsException
,AlreadyStreamedException
,AmazonS3Exception
,ApplicationAlreadyExistsException
,ApplicationDoesNotExistException
,ApplicationLimitExceededException
,ApplicationNameRequiredException
,ArgumentException
,AssessmentRunInProgressException
,AssociatedInstancesException
,AssociationAlreadyExistsException
,AssociationDoesNotExistException
,AssociationLimitExceededException
,AttachmentIdNotFoundException
,AttachmentLimitExceededException
,AttachmentSetExpiredException
,AttachmentSetIdNotFoundException
,AttachmentSetSizeLimitExceededException
,AttributeDoesNotExistException
,AuthenticationFailedException
,AuthorizationAlreadyExistsException
,AuthorizationAlreadyExistsException
,AuthorizationAlreadyExistsException
,AuthorizationErrorException
,AuthorizationErrorException
,AuthorizationNotFoundException
,AuthorizationNotFoundException
,AuthorizationNotFoundException
,AuthorizationQuotaExceededException
,AuthorizationQuotaExceededException
,BadRequestException
,BadRequestException
,BaseException
,BaseException
,BatchEntryIdsNotDistinctException
,BatchLimitExceededException
,BatchRequestTooLongException
,BatchTooLargeException
,BranchDoesNotExistException
,BranchNameExistsException
,BranchNameRequiredException
,BucketNameFilterRequiredException
,BucketNotFoundException
,BucketPermissionException
,CacheClusterAlreadyExistsException
,CacheClusterNotFoundException
,CacheParameterGroupAlreadyExistsException
,CacheParameterGroupNotFoundException
,CacheParameterGroupQuotaExceededException
,CacheSecurityGroupAlreadyExistsException
,CacheSecurityGroupNotFoundException
,CacheSecurityGroupQuotaExceededException
,CacheSubnetGroupAlreadyExistsException
,CacheSubnetGroupInUseException
,CacheSubnetGroupNotFoundException
,CacheSubnetGroupQuotaExceededException
,CacheSubnetQuotaExceededException
,CanceledJobIdException
,CannotDeleteException
,CaseCreationLimitExceededException
,CaseIdNotFoundException
,CertificateConflictException
,CertificateNotFoundException
,CertificateNotFoundException
,CertificateStateException
,CertificateValidationException
,ChangeSetNotFoundException
,ClientException
,ClientException
,CloudFrontOriginAccessIdentityAlreadyExistsException
,CloudFrontOriginAccessIdentityInUseException
,CloudHsmInternalException
,CloudHsmServiceException
,CloudTrailARNInvalidException
,CloudWatchLogsDeliveryUnavailableException
,ClusterAlreadyExistsException
,ClusterContainsContainerInstancesException
,ClusterContainsServicesException
,ClusterNotFoundException
,ClusterNotFoundException
,ClusterParameterGroupAlreadyExistsException
,ClusterParameterGroupNotFoundException
,ClusterParameterGroupQuotaExceededException
,ClusterQuotaExceededException
,ClusterQuotaForCustomerExceededException
,ClusterSecurityGroupAlreadyExistsException
,ClusterSecurityGroupNotFoundException
,ClusterSecurityGroupQuotaExceededException
,ClusterSnapshotAlreadyExistsException
,ClusterSnapshotNotFoundException
,ClusterSnapshotQuotaExceededException
,ClusterSubnetGroupAlreadyExistsException
,ClusterSubnetGroupNotFoundException
,ClusterSubnetGroupQuotaExceededException
,ClusterSubnetQuotaExceededException
,CNAMEAlreadyExistsException
,CodeMismatchException
,CodeStorageExceededException
,CommitDoesNotExistException
,CommitIdDoesNotExistException
,CommitIdRequiredException
,ConcurrentModificationException
,ConcurrentModificationException
,ConcurrentModificationException
,ConcurrentModificationException
,ConcurrentModificationException
,ConcurrentModificationException
,ConcurrentUpdateException
,ConditionalCheckFailedException
,ConflictException
,ConflictException
,ConflictException
,ConflictingDomainExistsException
,ConflictingTypesException
,CopyToRegionDisabledException
,CreateJobQuotaExceededException
,CredentialReportExpiredException
,CredentialReportNotPresentException
,CredentialReportNotReadyException
,DataAlreadyAcceptedException
,DBClusterAlreadyExistsException
,DBClusterNotFoundException
,DBClusterParameterGroupNotFoundException
,DBClusterQuotaExceededException
,DBClusterSnapshotAlreadyExistsException
,DBClusterSnapshotNotFoundException
,DBInstanceAlreadyExistsException
,DBInstanceNotFoundException
,DBLogFileNotFoundException
,DBParameterGroupAlreadyExistsException
,DBParameterGroupNotFoundException
,DBParameterGroupQuotaExceededException
,DBSecurityGroupAlreadyExistsException
,DBSecurityGroupNotFoundException
,DBSecurityGroupNotSupportedException
,DBSecurityGroupQuotaExceededException
,DBSnapshotAlreadyExistsException
,DBSnapshotNotFoundException
,DBSubnetGroupAlreadyExistsException
,DBSubnetGroupDoesNotCoverEnoughAZsException
,DBSubnetGroupNotAllowedException
,DBSubnetGroupNotFoundException
,DBSubnetGroupQuotaExceededException
,DBSubnetQuotaExceededException
,DBUpgradeDependencyFailureException
,DefaultUndefinedException
,DelegationSetAlreadyCreatedException
,DelegationSetAlreadyReusableException
,DelegationSetInUseException
,DelegationSetNotAvailableException
,DelegationSetNotReusableException
,DeleteConflictException
,DeleteConflictException
,DependencyTimeoutException
,DependencyTimeoutException
,DependentServiceRequestThrottlingException
,DeploymentAlreadyCompletedException
,DeploymentConfigAlreadyExistsException
,DeploymentConfigDoesNotExistException
,DeploymentConfigInUseException
,DeploymentConfigLimitExceededException
,DeploymentConfigNameRequiredException
,DeploymentDoesNotExistException
,DeploymentGroupAlreadyExistsException
,DeploymentGroupDoesNotExistException
,DeploymentGroupLimitExceededException
,DeploymentGroupNameRequiredException
,DeploymentIdRequiredException
,DeploymentLimitExceededException
,DeploymentNotStartedException
,DescribeAttachmentLimitExceededException
,DescriptionTooLongException
,DeveloperUserAlreadyRegisteredException
,DirectConnectClientException
,DirectConnectServerException
,DirectoryLimitExceededException
,DirectoryUnavailableException
,DisabledException
,DisabledOperationException
,DisabledOperationException
,DistributionAlreadyExistsException
,DistributionNotDisabledException
,DocumentAlreadyExistsException
,DocumentLimitExceededException
,DocumentPermissionLimitException
,DocumentServiceException
,DomainAlreadyExistsException
,DomainDeprecatedException
,DomainLimitExceededException
,DomainNotFoundException
,DuplicateCertificateException
,DuplicateInstanceIdException
,DuplicateItemNameException
,DuplicateListenerException
,DuplicateLoadBalancerNameException
,DuplicatePolicyNameException
,DuplicateRequestException
,DuplicateRequestException
,DuplicateRequestException
,DuplicateSSHPublicKeyException
,DuplicateTagKeysException
,EC2AccessDeniedException
,EC2ThrottledException
,EC2UnexpectedException
,ElasticBeanstalkServiceException
,EmptyBatchRequestException
,EmptyUploadException
,EncryptionIntegrityChecksFailedException
,EncryptionKeyAccessDeniedException
,EncryptionKeyDisabledException
,EncryptionKeyNotFoundException
,EncryptionKeyUnavailableException
,EndpointDisabledException
,ENILimitReachedException
,EntityAlreadyExistsException
,EntityAlreadyExistsException
,EntityDoesNotExistException
,EntityTemporarilyUnmodifiableException
,EventSubscriptionQuotaExceededException
,EventSubscriptionQuotaExceededException
,ExpiredCodeException
,ExpiredIteratorException
,ExpiredIteratorException
,ExpiredJobIdException
,ExpiredTokenException
,ExternalServiceException
,FailedResourceAccessException
,FileSystemAlreadyExistsException
,FileSystemInUseException
,FileSystemLimitExceededException
,FileSystemNotFoundException
,FleetCapacityExceededException
,GameSessionFullException
,HealthCheckAlreadyExistsException
,HealthCheckInUseException
,HealthCheckVersionMismatchException
,HostedZoneAlreadyExistsException
,HostedZoneNotEmptyException
,HostedZoneNotFoundException
,HsmClientCertificateAlreadyExistsException
,HsmClientCertificateNotFoundException
,HsmClientCertificateQuotaExceededException
,HsmConfigurationAlreadyExistsException
,HsmConfigurationNotFoundException
,HsmConfigurationQuotaExceededException
,IamUserArnAlreadyRegisteredException
,IamUserArnRequiredException
,IdempotencyException
,IdempotentParameterMismatchException
,IDPCommunicationErrorException
,IDPRejectedClaimException
,IllegalUpdateException
,ImageAlreadyExistsException
,IncompatibleOrderableOptionsException
,IncompatibleVersionException
,IncompatibleVersionException
,InconsistentQuantitiesException
,IncorrectFileSystemLifeCycleStateException
,IncorrectMountTargetStateException
,InProgressTableRestoreQuotaExceededException
,InstanceDoesNotExistException
,InstanceIdRequiredException
,InstanceLimitExceededException
,InstanceNameAlreadyRegisteredException
,InstanceNameRequiredException
,InstanceNotRegisteredException
,InstanceQuotaExceededException
,InsufficientCacheClusterCapacityException
,InsufficientCapabilitiesException
,InsufficientClusterCapacityException
,InsufficientDBClusterCapacityException
,InsufficientDBInstanceCapacityException
,InsufficientDeliveryPolicyException
,InsufficientEncryptionPolicyException
,InsufficientPermissionsException
,InsufficientPermissionsException
,InsufficientPrivilegesException
,InsufficientResourceCapacityException
,InsufficientS3BucketPolicyException
,InsufficientS3BucketPolicyException
,InsufficientSnsTopicPolicyException
,InsufficientStorageClusterCapacityException
,InternalErrorException
,InternalErrorException
,InternalErrorException
,InternalErrorException
,InternalException
,InternalException
,InternalException
,InternalException
,InternalException
,InternalFailureException
,InternalFailureException
,InternalServerErrorException
,InternalServerErrorException
,InternalServerErrorException
,InternalServerErrorException
,InternalServerErrorException
,InternalServerErrorException
,InternalServerException
,InternalServerException
,InternalServiceErrorException
,InternalServiceErrorException
,InternalServiceException
,InternalServiceException
,InternalServiceException
,InternalServiceException
,InvalidAccessKeyIdException
,InvalidActionDeclarationException
,InvalidAddressException
,InvalidAliasNameException
,InvalidApplicationNameException
,InvalidArgumentException
,InvalidArgumentException
,InvalidArgumentException
,InvalidArgumentException
,InvalidArnException
,InvalidArnException
,InvalidARNException
,InvalidAttributeNameException
,InvalidAuthenticationCodeException
,InvalidAuthorizationMessageException
,InvalidAutoScalingGroupException
,InvalidBatchEntryIdException
,InvalidBlockerDeclarationException
,InvalidBranchNameException
,InvalidBucketNameFilterException
,InvalidCacheClusterStateException
,InvalidCacheParameterGroupStateException
,InvalidCacheSecurityGroupStateException
,InvalidCertificateException
,InvalidChangeBatchException
,InvalidChangeSetStatusException
,InvalidCiphertextException
,InvalidClientTokenException
,InvalidCloudWatchLogsLogGroupArnException
,InvalidCloudWatchLogsRoleArnException
,InvalidClusterParameterGroupStateException
,InvalidClusterSecurityGroupStateException
,InvalidClusterSnapshotStateException
,InvalidClusterStateException
,InvalidClusterSubnetGroupStateException
,InvalidClusterSubnetStateException
,InvalidCommandIdException
,InvalidCommitIdException
,InvalidConfigurationException
,InvalidConfigurationRecorderNameException
,InvalidConfigurationRequestException
,InvalidContinuationTokenException
,InvalidCrossAccountRoleException
,InvalidCustomsException
,InvalidDBClusterSnapshotStateException
,InvalidDBClusterStateException
,InvalidDBInstanceStateException
,InvalidDBParameterGroupStateException
,InvalidDBSecurityGroupStateException
,InvalidDBSnapshotStateException
,InvalidDBSubnetGroupException
,InvalidDBSubnetGroupStateException
,InvalidDBSubnetStateException
,InvalidDefaultRootObjectException
,InvalidDeliveryChannelNameException
,InvalidDeployedStateFilterException
,InvalidDeploymentConfigNameException
,InvalidDeploymentGroupNameException
,InvalidDeploymentIdException
,InvalidDeploymentStatusException
,InvalidDocumentContentException
,InvalidDocumentException
,InvalidDocumentOperationException
,InvalidDomainNameException
,InvalidDomainValidationOptionsException
,InvalidEC2TagException
,InvalidElasticIpException
,InvalidEndpointRegionException
,InvalidErrorCodeException
,InvalidEventPatternException
,InvalidEventSubscriptionStateException
,InvalidFileSystemException
,InvalidFilterKeyException
,InvalidFleetStatusException
,InvalidFormatException
,InvalidForwardCookiesException
,InvalidGameSessionStatusException
,InvalidGatewayRequestException
,InvalidGeoRestrictionParameterException
,InvalidGrantIdException
,InvalidGrantTokenException
,InvalidHeadersForS3OriginException
,InvalidHomeRegionException
,InvalidHsmClientCertificateStateException
,InvalidHsmConfigurationStateException
,InvalidIamUserArnException
,InvalidIdentityPoolConfigurationException
,InvalidIdentityTokenException
,InvalidIdFormatException
,InvalidIfMatchVersionException
,InvalidInputException
,InvalidInputException
,InvalidInputException
,InvalidInputException
,InvalidInputException
,InvalidInstanceException
,InvalidInstanceIdException
,InvalidInstanceInformationFilterValueException
,InvalidInstanceNameException
,InvalidInstanceStatusException
,InvalidJobException
,InvalidJobIdException
,InvalidJobStateException
,InvalidKeyPrefixFilterException
,InvalidKeyUsageException
,InvalidKmsKeyIdException
,InvalidLambdaFunctionException
,InvalidLambdaFunctionOutputException
,InvalidLambdaResponseException
,InvalidLayerException
,InvalidLayerPartException
,InvalidLimitException
,InvalidLocationCodeException
,InvalidLookupAttributesException
,InvalidManifestFieldException
,InvalidMarkerException
,InvalidMaxResultsException
,InvalidMessageContentsException
,InvalidMinimumHealthyHostValueException
,InvalidMinimumProtocolVersionException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNextTokenException
,InvalidNonceException
,InvalidNumberPredicatesException
,InvalidNumberValueTestsException
,InvalidOperationException
,InvalidOperationException
,InvalidOptionGroupStateException
,InvalidOrderException
,InvalidOriginAccessIdentityException
,InvalidOriginException
,InvalidOutputFolderException
,InvalidParameterCombinationException
,InvalidParameterCombinationException
,InvalidParameterCombinationException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParameterException
,InvalidParametersException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValueException
,InvalidParameterValuesException
,InvalidPasswordException
,InvalidPermissionTypeException
,InvalidPolicyException
,InvalidProductCodeException
,InvalidProtocolSettingsException
,InvalidPublicKeyException
,InvalidQueryExpressionException
,InvalidRecordingGroupException
,InvalidRegistrationStatusException
,InvalidRelativePathException
,InvalidReplicationGroupStateException
,InvalidRepositoryDescriptionException
,InvalidRepositoryNameException
,InvalidRepositoryTriggerBranchNameException
,InvalidRepositoryTriggerCustomDataException
,InvalidRepositoryTriggerDestinationArnException
,InvalidRepositoryTriggerEventsException
,InvalidRepositoryTriggerNameException
,InvalidRepositoryTriggerRegionException
,InvalidRequestContentException
,InvalidRequestException
,InvalidRequestException
,InvalidRequestException
,InvalidRequestException
,InvalidRequestException
,InvalidRequestException
,InvalidRequestException
,InvalidRequiredProtocolException
,InvalidResourceStateException
,InvalidResponseCodeException
,InvalidRestoreException
,InvalidRestoreException
,InvalidResultTokenException
,InvalidRevisionException
,InvalidRoleException
,InvalidRoleException
,InvalidS3BucketNameException
,InvalidS3BucketNameException
,InvalidS3ConfigurationException
,InvalidS3KeyPrefixException
,InvalidS3KeyPrefixException
,InvalidS3PrefixException
,InvalidSchemeException
,InvalidSecurityGroupException
,InvalidSecurityGroupIDException
,InvalidSequenceTokenException
,InvalidSnapshotCopyGrantStateException
,InvalidSnapshotStateException
,InvalidSNSTopicARNException
,InvalidSnsTopicException
,InvalidSnsTopicNameException
,InvalidSortByException
,InvalidSortByException
,InvalidSortOrderException
,InvalidStageDeclarationException
,InvalidStateException
,InvalidStructureException
,InvalidSubnetException
,InvalidSubnetException
,InvalidSubnetException
,InvalidSubnetException
,InvalidSubnetException
,InvalidSubnetIDException
,InvalidSubscriptionStateException
,InvalidTableRestoreArgumentException
,InvalidTagException
,InvalidTagException
,InvalidTagException
,InvalidTagFilterException
,InvalidTagParameterException
,InvalidTimeRangeException
,InvalidTimeRangeException
,InvalidTimeRangeException
,InvalidTokenException
,InvalidTrafficPolicyDocumentException
,InvalidTrailNameException
,InvalidTriggerConfigException
,InvalidTTLOrderException
,InvalidTypeException
,InvalidTypeException
,InvalidUsageDimensionException
,InvalidUserTypeException
,InvalidVersionException
,InvalidViewerCertificateException
,InvalidVPCIdException
,InvalidVPCNetworkStateException
,InvalidVPCNetworkStateException
,InvalidVPCNetworkStateException
,InvalidWebACLIdException
,IpAddressInUseException
,ItemCollectionSizeLimitExceededException
,JobNotFoundException
,KeyPairMismatchException
,KeyUnavailableException
,KMSInternalException
,KMSInvalidStateException
,KmsKeyDisabledException
,KMSKeyNotAccessibleException
,KMSKeyNotAccessibleException
,KmsKeyNotFoundException
,LambdaThrottledException
,LastDeliveryChannelDeleteFailedException
,LastVPCAssociationException
,LayerAlreadyExistsException
,LayerInaccessibleException
,LayerPartTooSmallException
,LayersNotFoundException
,LifecycleHookLimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitExceededException
,LimitsExceededException
,ListenerNotFoundException
,LoadBalancerAttributeNotFoundException
,LoadBalancerNotFoundException
,MailFromDomainNotVerifiedException
,MalformedCertificateException
,MalformedManifestException
,MalformedPolicyDocumentException
,MalformedPolicyDocumentException
,MalformedPolicyDocumentException
,MalformedPolicyException
,ManagedActionInvalidStateException
,MarketplaceCommerceAnalyticsException
,MaxDocumentSizeExceededException
,MaximumBranchesExceededException
,MaximumNumberOfTrailsExceededException
,MaximumRepositoryNamesExceededException
,MaximumRepositoryTriggersExceededException
,MaxNumberOfConfigRulesExceededException
,MaxNumberOfConfigurationRecordersExceededException
,MaxNumberOfDeliveryChannelsExceededException
,MessageNotInflightException
,MessageRejectedException
,MethodNotAllowedException
,MissingBodyException
,MissingCustomsException
,MissingManifestFieldException
,MissingParameterException
,MissingParameterException
,MissingParameterValueException
,MissingRequiredParameterException
,MissingVersionException
,MountTargetConflictException
,MountTargetNotFoundException
,MultipleRegionsException
,NetworkInterfaceLimitExceededException
,NoAvailableConfigurationRecorderException
,NoAvailableDeliveryChannelException
,NodeQuotaForClusterExceededException
,NodeQuotaForCustomerExceededException
,NoFreeAddressesInSubnetException
,NoRunningConfigurationRecorderException
,NoSuchBucketException
,NoSuchBucketException
,NoSuchChangeException
,NoSuchCloudFrontOriginAccessIdentityException
,NoSuchConfigRuleException
,NoSuchConfigurationRecorderException
,NoSuchDelegationSetException
,NoSuchDeliveryChannelException
,NoSuchDistributionException
,NoSuchDomainException
,NoSuchEntityException
,NoSuchEntityException
,NoSuchGeoLocationException
,NoSuchHealthCheckException
,NoSuchHostedZoneException
,NoSuchInvalidationException
,NoSuchOriginException
,NoSuchStreamingDistributionException
,NoSuchTrafficPolicyException
,NoSuchTrafficPolicyInstanceException
,NotAuthorizedException
,NotAuthorizedException
,NotAuthorizedException
,NotEligibleException
,NotFoundException
,NotFoundException
,NotFoundException
,NotFoundException
,NotFoundException
,NoUpdateAvailableException
,NumberDomainAttributesExceededException
,NumberDomainBytesExceededException
,NumberDomainsExceededException
,NumberItemAttributesExceededException
,NumberOfNodesPerClusterLimitExceededException
,NumberOfNodesQuotaExceededException
,NumberSubmittedAttributesExceededException
,NumberSubmittedItemsExceededException
,ObjectNotFoundException
,OperationAbortedException
,OperationInProgressException
,OperationLimitExceededException
,OperationNotPermittedException
,OperationNotPermittedException
,OperationNotPermittedException
,OptionGroupAlreadyExistsException
,OptionGroupNotFoundException
,OptionGroupQuotaExceededException
,OverLimitException
,PackedPolicyTooLargeException
,PasswordPolicyViolationException
,PipelineDeletedException
,PipelineNameInUseException
,PipelineNotFoundException
,PipelineNotFoundException
,PipelineVersionNotFoundException
,PlatformApplicationDisabledException
,PointInTimeRestoreNotEnabledException
,PolicyEnforcedException
,PolicyEvaluationException
,PolicyLengthExceededException
,PolicyNotFoundException
,PolicyTypeNotFoundException
,PreconditionFailedException
,PredictorNotMountedException
,PriorRequestNotCompleteException
,ProvisionedIopsNotAvailableInAZException
,ProvisionedThroughputExceededException
,ProvisionedThroughputExceededException
,PublicZoneVPCAssociationException
,PurgeQueueInProgressException
,QueueDeletedRecentlyException
,QueueDoesNotExistException
,QueueNameExistsException
,ReceiptHandleIsInvalidException
,RegionDisabledException
,RegistrationCodeValidationException
,ReplicationGroupAlreadyExistsException
,ReplicationGroupNotFoundException
,ReplicationSubnetGroupDoesNotCoverEnoughAZsException
,RepositoryAlreadyExistsException
,RepositoryDoesNotExistException
,RepositoryLimitExceededException
,RepositoryNameExistsException
,RepositoryNameRequiredException
,RepositoryNamesRequiredException
,RepositoryNotEmptyException
,RepositoryNotFoundException
,RepositoryPolicyNotFoundException
,RepositoryTriggerBranchNameListRequiredException
,RepositoryTriggerDestinationArnRequiredException
,RepositoryTriggerEventsListRequiredException
,RepositoryTriggerNameRequiredException
,RepositoryTriggersListRequiredException
,RequestEntityTooLargeException
,RequestInProgressException
,RequestTimeoutException
,RequestTimeoutException
,RequestTooLargeException
,ReservedCacheNodeAlreadyExistsException
,ReservedCacheNodeNotFoundException
,ReservedCacheNodeQuotaExceededException
,ReservedCacheNodesOfferingNotFoundException
,ReservedDBInstanceAlreadyExistsException
,ReservedDBInstanceNotFoundException
,ReservedDBInstanceQuotaExceededException
,ReservedDBInstancesOfferingNotFoundException
,ReservedNodeAlreadyExistsException
,ReservedNodeNotFoundException
,ReservedNodeOfferingNotFoundException
,ReservedNodeQuotaExceededException
,ResizeNotFoundException
,ResourceAlreadyExistsException
,ResourceAlreadyExistsException
,ResourceAlreadyExistsException
,ResourceAlreadyExistsException
,ResourceConflictException
,ResourceConflictException
,ResourceConflictException
,ResourceContentionException
,ResourceInUseException
,ResourceInUseException
,ResourceInUseException
,ResourceInUseException
,ResourceInUseException
,ResourceInUseException
,ResourceInUseException
,ResourceLimitExceededException
,ResourceNotDiscoveredException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceNotFoundException
,ResourceQuotaExceededException
,ResourceTypeNotSupportedException
,ResourceUnavailableException
,RevisionDoesNotExistException
,RevisionRequiredException
,RoleRequiredException
,RuleDoesNotExistException
,RuleSetDoesNotExistException
,S3BucketDoesNotExistException
,S3LocationNotInServiceRegionException
,S3SubscriptionRequiredException
,ScalingActivityInProgressException
,SearchException
,SecurityGroupLimitExceededException
,SecurityGroupNotFoundException
,ServerException
,ServerException
,ServerInternalErrorException
,ServiceAccountException
,ServiceException
,ServiceException
,ServiceFailureException
,ServiceNotActiveException
,ServiceNotFoundException
,ServiceUnavailableException
,ServiceUnavailableException
,ServiceUnavailableException
,ServiceUnavailableException
,ServiceUnavailableException
,ServiceUnavailableException
,SharedSnapshotQuotaExceededException
,SnapshotAlreadyExistsException
,SnapshotCopyAlreadyDisabledException
,SnapshotCopyAlreadyEnabledException
,SnapshotCopyDisabledException
,SnapshotCopyGrantAlreadyExistsException
,SnapshotCopyGrantNotFoundException
,SnapshotCopyGrantQuotaExceededException
,SnapshotFeatureNotSupportedException
,SnapshotLimitExceededException
,SnapshotNotFoundException
,SnapshotQuotaExceededException
,SnapshotQuotaExceededException
,SNSInvalidTopicException
,SNSInvalidTopicException
,SNSNoAuthorizationException
,SNSNoAuthorizationException
,SNSTopicArnNotFoundException
,SNSTopicArnNotFoundException
,SourceBundleDeletionException
,SourceNotFoundException
,SourceNotFoundException
,SqlParseException
,StageNotFoundException
,StatusUnchangedException
,StorageQuotaExceededException
,StorageQuotaExceededException
,StorageTypeNotSupportedException
,StreamingDistributionAlreadyExistsException
,StreamingDistributionNotDisabledException
,SubnetAlreadyInUseException
,SubnetAlreadyInUseException
,SubnetAlreadyInUseException
,SubnetInUseException
,SubnetIPAddressLimitReachedException
,SubnetNotFoundException
,SubnetNotFoundException
,SubscriptionAlreadyExistException
,SubscriptionAlreadyExistException
,SubscriptionCategoryNotFoundException
,SubscriptionCategoryNotFoundException
,SubscriptionEventIdNotFoundException
,SubscriptionLimitExceededException
,SubscriptionNotFoundException
,SubscriptionNotFoundException
,SubscriptionSeverityNotFoundException
,TableRestoreNotFoundException
,TagLimitExceededException
,TagLimitExceededException
,TagNotFoundException
,TagQuotaPerResourceExceededException
,TagRequiredException
,TagsLimitExceededException
,TaskNotFoundException
,TerminalRoutingStrategyException
,ThrottlingException
,ThrottlingException
,ThrottlingException
,ThrottlingException
,TimestampOutOfBoundsException
,TLDRulesViolationException
,TooManyApplicationsException
,TooManyApplicationVersionsException
,TooManyBucketsException
,TooManyCacheBehaviorsException
,TooManyCertificatesException
,TooManyCloudFrontOriginAccessIdentitiesException
,TooManyConfigurationTemplatesException
,TooManyCookieNamesInWhiteListException
,TooManyDistributionCNAMEsException
,TooManyDistributionsException
,TooManyEntriesInBatchRequestException
,TooManyEnvironmentsException
,TooManyFailedAttemptsException
,TooManyHeadersInForwardedValuesException
,TooManyHealthChecksException
,TooManyHostedZonesException
,TooManyInvalidationsInProgressException
,TooManyLoadBalancersException
,TooManyOriginCustomHeadersException
,TooManyOriginsException
,TooManyPoliciesException
,TooManyRequestedAttributesException
,TooManyRequestsException
,TooManyRequestsException
,TooManyRequestsException
,TooManyRequestsException
,TooManyRequestsException
,TooManyStreamingDistributionCNAMEsException
,TooManyStreamingDistributionsException
,TooManyTagsException
,TooManyTagsException
,TooManyTrafficPoliciesException
,TooManyTrafficPolicyInstancesException
,TooManyTrustedSignersException
,TooManyUpdatesException
,TopicLimitExceededException
,TrafficPolicyAlreadyExistsException
,TrafficPolicyInstanceAlreadyExistsException
,TrafficPolicyInUseException
,TrailAlreadyExistsException
,TrailNotFoundException
,TrailNotProvidedException
,TransferAlreadyCompletedException
,TransferConflictException
,TriggerTargetsLimitExceededException
,TrimmedDataAccessException
,TrustedSignerDoesNotExistException
,TypeAlreadyExistsException
,TypeDeprecatedException
,UnableToCancelJobIdException
,UnableToUpdateJobIdException
,UnauthorizedException
,UnauthorizedException
,UnauthorizedException
,UnauthorizedException
,UnauthorizedOperationException
,UnexpectedLambdaException
,UnknownResourceException
,UnknownSnapshotCopyRegionException
,UnrecognizedPublicKeyEncodingException
,UnsupportedAvailabilityZoneException
,UnsupportedDocumentEncodingException
,UnsupportedMediaTypeException
,UnsupportedOperationException
,UnsupportedOperationException
,UnsupportedOperationException
,UnsupportedOperationException
,UnsupportedOperationException
,UnsupportedOptionException
,UnsupportedPlatformTypeException
,UnsupportedTLDException
,UpdateInProgressException
,UpgradeDependencyFailureException
,UploadNotFoundException
,UserLambdaValidationException
,UsernameExistsException
,ValidationException
,ValidationException
,ValidationException
,ValidationException
,ValidationException
,ValidationException
,VersionsLimitExceededException
,VPCAssociationNotFoundException
,WAFDisallowedNameException
,WAFInternalErrorException
,WAFInvalidAccountException
,WAFInvalidOperationException
,WAFInvalidParameterException
,WAFLimitsExceededException
,WAFNonEmptyEntityException
,WAFNonexistentContainerException
,WAFNonexistentItemException
,WAFReferencedItemException
,WAFStaleDataException
,WorkflowExecutionAlreadyStartedException
Extension of AmazonClientException that represents an error response returned
by an Amazon web service. Receiving an exception of this type indicates that
the caller's request was correctly transmitted to the service, but for some
reason, the service was not able to process it, and returned an error
response instead.
AmazonServiceException provides callers several pieces of information that can be used to obtain more information about the error and why it occurred. In particular, the errorType field can be used to determine if the caller's request was invalid, or the service encountered an error on the server side while processing it.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Indicates who is responsible (if known) for a failed request. -
Constructor Summary
ConstructorsConstructorDescriptionAmazonServiceException
(String errorMessage) Constructs a new AmazonServiceException with the specified message.AmazonServiceException
(String errorMessage, Exception cause) Constructs a new AmazonServiceException with the specified message and exception indicating the root cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS error code represented by this exception.Indicates who is responsible for this exception (caller, service, or unknown).byte[]
Returns the response payload as bytes.Typically only useful for debugging purpose if for some reason the SDK cannot parse the HTTP response from a serviceReturns the AWS request ID that uniquely identifies the service request the caller made.Returns the name of the service that sent this error response.int
Returns the HTTP status code that was returned with this service exception.void
setErrorCode
(String errorCode) Sets the AWS error code represented by this exception.void
setErrorMessage
(String value) Sets the human-readable error message provided by the service.void
setErrorType
(AmazonServiceException.ErrorType errorType) Sets the type of error represented by this exception (sender, receiver, or unknown), indicating if this exception was the caller's fault, or the service's fault.void
setRawResponse
(byte[] rawResponse) Sets the raw response content.void
setRawResponseContent
(String rawResponseContent) Sets the raw response content.void
setRequestId
(String requestId) Sets the AWS requestId for this exception.void
setServiceName
(String serviceName) Sets the name of the service that sent this error response.void
setStatusCode
(int statusCode) Sets the HTTP status code that was returned with this service exception.Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmazonServiceException
Constructs a new AmazonServiceException with the specified message.- Parameters:
errorMessage
- An error message describing what went wrong.
-
AmazonServiceException
Constructs a new AmazonServiceException with the specified message and exception indicating the root cause.- Parameters:
errorMessage
- An error message describing what went wrong.cause
- The root exception that caused this exception to be thrown.
-
-
Method Details
-
setRequestId
Sets the AWS requestId for this exception.- Parameters:
requestId
- The unique identifier for the service request the caller made.
-
getRequestId
Returns the AWS request ID that uniquely identifies the service request the caller made.- Returns:
- The AWS request ID that uniquely identifies the service request the caller made.
-
setServiceName
Sets the name of the service that sent this error response.- Parameters:
serviceName
- The name of the service that sent this error response.
-
getServiceName
Returns the name of the service that sent this error response.- Returns:
- The name of the service that sent this error response.
-
setErrorCode
Sets the AWS error code represented by this exception.- Parameters:
errorCode
- The AWS error code represented by this exception.
-
getErrorCode
Returns the AWS error code represented by this exception.- Returns:
- The AWS error code represented by this exception.
-
setErrorType
Sets the type of error represented by this exception (sender, receiver, or unknown), indicating if this exception was the caller's fault, or the service's fault.- Parameters:
errorType
- The type of error represented by this exception (sender or receiver), indicating if this exception was the caller's fault or the service's fault.
-
getErrorType
Indicates who is responsible for this exception (caller, service, or unknown).- Returns:
- A value indicating who is responsible for this exception (caller, service, or unknown).
-
getErrorMessage
- Returns:
- the human-readable error message provided by the service
-
setErrorMessage
Sets the human-readable error message provided by the service. NOTE: errorMessage by default is set to the same as the message value passed to the constructor of AmazonServiceException.- See Also:
-
setStatusCode
public void setStatusCode(int statusCode) Sets the HTTP status code that was returned with this service exception.- Parameters:
statusCode
- The HTTP status code that was returned with this service exception.
-
getStatusCode
public int getStatusCode()Returns the HTTP status code that was returned with this service exception.- Returns:
- The HTTP status code that was returned with this service exception.
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getRawResponseContent
Typically only useful for debugging purpose if for some reason the SDK cannot parse the HTTP response from a service- Returns:
- The raw content of the HTTP response as a String.
-
setRawResponseContent
Sets the raw response content. -
getRawResponse
public byte[] getRawResponse()Returns the response payload as bytes. -
setRawResponse
public void setRawResponse(byte[] rawResponse) Sets the raw response content.
-