Modify an error message

This commit is contained in:
Yu ISHIKAWA 2015-09-07 23:34:22 +09:00
parent d32a32a92d
commit f718b4bf46
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class TestDeleteS3Object {
CreateBucketRequest request = new CreateBucketRequest(TEST_BUCKET, TEST_REGION); CreateBucketRequest request = new CreateBucketRequest(TEST_BUCKET, TEST_REGION);
client.createBucket(request); client.createBucket(request);
} catch (final AmazonS3Exception e) { } catch (final AmazonS3Exception e) {
System.out.println(TEST_BUCKET + " already exists."); System.out.println("Can't create the key " + TEST_BUCKET + ":" + e.toString());
} catch (final IOException e) { } catch (final IOException e) {
System.out.println(CREDENTIALS_FILE + " doesn't exist."); System.out.println(CREDENTIALS_FILE + " doesn't exist.");
} }