- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AmazonS3Exception (0.19 sec)
-
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ClientTest.groovy
URI uri = new URI("https://somehost/file.txt") S3Client s3Client = new S3Client(amazonS3Client, s3ConnectionProperties) AmazonS3Exception amazonS3Exception = new AmazonS3Exception("test exception") amazonS3Client.getObject(_) >> { throw amazonS3Exception } when: s3Client.getMetaData(uri) then: def ex = thrown(ResourceException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 10.3K bytes - Viewed (0)