aws-amplifyuibuilder-component/src/main/java/software/amazon/amplifyuibuilder/component/BaseHandlerStd.java [111:123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      } catch (ResourceNotFoundException e) {
        throw new CfnNotFoundException(ResourceModel.TYPE_NAME, request.id());
      } catch (InternalServerException e) {
        throw new CfnInternalFailureException(e);
      } catch (InvalidParameterException e) {
        throw new CfnInvalidRequestException(e.getMessage(), e);
      } catch (final AmplifyUiBuilderException e) {
        if (e.statusCode() == HttpStatus.SC_NOT_FOUND || e.statusCode() == HttpStatus.SC_BAD_REQUEST) {
          throw new CfnNotFoundException(ResourceModel.TYPE_NAME, e.getMessage());
        }
        throw new CfnGeneralServiceException(ResourceModel.TYPE_NAME, e);
      } catch (final AwsServiceException e) {
        throw new CfnGeneralServiceException(ResourceModel.TYPE_NAME, e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-amplifyuibuilder-component/src/main/java/software/amazon/amplifyuibuilder/component/BaseHandlerStd.java [138:150]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      } catch (ResourceNotFoundException e) {
        throw new CfnNotFoundException(ResourceModel.TYPE_NAME, request.id());
      } catch (InternalServerException e) {
        throw new CfnInternalFailureException(e);
      } catch (InvalidParameterException e) {
        throw new CfnInvalidRequestException(e.getMessage(), e);
      } catch (final AmplifyUiBuilderException e) {
        if (e.statusCode() == HttpStatus.SC_NOT_FOUND || e.statusCode() == HttpStatus.SC_BAD_REQUEST) {
          throw new CfnNotFoundException(ResourceModel.TYPE_NAME, e.getMessage());
        }
        throw new CfnGeneralServiceException(ResourceModel.TYPE_NAME, e);
      } catch (final AwsServiceException e) {
        throw new CfnGeneralServiceException(ResourceModel.TYPE_NAME, e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



