aws-servicecatalog-serviceaction/src/main/java/software/amazon/servicecatalog/serviceaction/ExceptionTranslator.java [25:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (e instanceof DuplicateResourceException) {
            return new CfnAlreadyExistsException(ResourceModel.TYPE_NAME, e.getMessage(), e);
        }
        if (e instanceof LimitExceededException) {
            return new CfnServiceLimitExceededException(ResourceModel.TYPE_NAME, e.getMessage(), e);
        }
        if (e instanceof InvalidParametersException) {
            return new CfnInvalidRequestException(ResourceModel.TYPE_NAME, e);
        }
        return new CfnInternalFailureException(e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-servicecatalog-serviceactionassociation/src/main/java/software/amazon/servicecatalog/serviceactionassociation/ExceptionTranslator.java [20:29]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (e instanceof DuplicateResourceException) {
            return new CfnAlreadyExistsException(ResourceModel.TYPE_NAME, e.getMessage(), e);
        }
        if (e instanceof LimitExceededException) {
            return new CfnServiceLimitExceededException(ResourceModel.TYPE_NAME, e.getMessage(), e);
        }
        if (e instanceof InvalidParametersException) {
            return new CfnInvalidRequestException(ResourceModel.TYPE_NAME, e);
        }
        return new CfnInternalFailureException(e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



