codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Amazon
  3. Change SDK Exception types from v1 to v2

Change SDK Exception types from v1 to v2

Apache 2.0

Change SDK Exception types from v1 to v2.

software.amazon.awssdk.v2migration.ChangeExceptionTypes
mod run . --recipe=software.amazon.awssdk.v2migration.ChangeExceptionTypes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

Recipe
  1. Change type SdkBaseException to SdkException
  2. Change type AmazonClientException to SdkException
  3. Change type com.amazonaws.SdkClientException to software.amazon.awssdk.core.exception.SdkClientException
  4. Change method name com.amazonaws.AmazonServiceException getRequestId() to requestId
  5. Add a comment to a method
  6. Add a comment to a method
  7. Change type AmazonServiceException to AwsServiceException
  8. Change type com.amazonaws.AbortedException to software.amazon.awssdk.core.exception.AbortedException
  9. Change type ClientExecutionTimeoutException to ApiCallTimeoutException
  10. Change type HttpRequestTimeoutException to ApiCallAttemptTimeoutException
  11. Change type com.amazonaws.http.timers.client.SdkInterruptedException to software.amazon.awssdk.core.exception.SdkInterruptedException
  12. Change type com.amazonaws.http.timers.client.SdkInterruptedException to software.amazon.awssdk.core.exception.SdkInterruptedException
  13. Change type CRC32MismatchException to Crc32MismatchException
© Moderne, 2026
Recipe indexPrivacyTerms