@@ -226,7 +226,7 @@ try {
226226 System . out. println(" mybucket is created successfully" );
227227 }
228228} catch (MinioException e) {
229- System . out. println(" Error occured : " + e);
229+ System . out. println(" Error occurred : " + e);
230230}
231231
232232```
@@ -262,7 +262,7 @@ try {
262262 System . out. println(bucket. creationDate() + " , " + bucket. name());
263263 }
264264} catch (MinioException e) {
265- System . out. println(" Error occured : " + e);
265+ System . out. println(" Error occurred : " + e);
266266}
267267
268268```
@@ -311,7 +311,7 @@ try {
311311 System . out. println(" mybucket does not exist" );
312312 }
313313} catch (MinioException e) {
314- System . out. println(" Error occured : " + e);
314+ System . out. println(" Error occurred : " + e);
315315}
316316
317317```
@@ -364,7 +364,7 @@ try {
364364 System . out. println(" mybucket does not exist" );
365365 }
366366} catch (MinioException e) {
367- System . out. println(" Error occured : " + e);
367+ System . out. println(" Error occurred : " + e);
368368}
369369
370370```
@@ -413,7 +413,7 @@ try {
413413 System . out. println(" mybucket does not exist" );
414414 }
415415} catch (MinioException e) {
416- System . out. println(" Error occured : " + e);
416+ System . out. println(" Error occurred : " + e);
417417}
418418
419419```
@@ -462,7 +462,7 @@ try {
462462 System . out. println(" mybucket does not exist" );
463463 }
464464 } catch (MinioException e) {
465- System . out. println(" Error occured : " + e);
465+ System . out. println(" Error occurred : " + e);
466466}
467467
468468```
@@ -505,7 +505,7 @@ __Example__
505505try {
506506 System . out. println(" Current policy: " + minioClient. getBucketPolicy(" myBucket" , " downloads" ));
507507 } catch (MinioException e) {
508- System . out. println(" Error occured : " + e);
508+ System . out. println(" Error occurred : " + e);
509509}
510510```
511511
@@ -550,7 +550,7 @@ __Example__
550550try {
551551 minioClient. setBucketPolicy(" myBucket" , " uploads" , BucketPolicy . WriteOnly );
552552 } catch (MinioException e) {
553- System . out. println(" Error occured : " + e);
553+ System . out. println(" Error occurred : " + e);
554554}
555555```
556556
@@ -610,7 +610,7 @@ try {
610610 // Close the input stream.
611611 stream. close();
612612 } catch (MinioException e) {
613- System . out. println(" Error occured : " + e);
613+ System . out. println(" Error occurred : " + e);
614614}
615615
616616```
@@ -671,7 +671,7 @@ __Example__
671671 // Close the input stream.
672672 stream. close();
673673 } catch (MinioException e) {
674- System . out. println(" Error occured : " + e);
674+ System . out. println(" Error occurred : " + e);
675675}
676676
677677```
@@ -720,7 +720,7 @@ try {
720720 minioClient. getObject(" mybucket" , " myobject" , " photo.jpg" );
721721
722722 } catch (MinioException e) {
723- System . out. println(" Error occured : " + e);
723+ System . out. println(" Error occurred : " + e);
724724
725725```
726726
@@ -790,7 +790,7 @@ try {
790790 bais. close();
791791 System . out. println(" myobject is uploaded successfully" );
792792} catch (MinioException e) {
793- System . out. println(" Error occured : " + e);
793+ System . out. println(" Error occurred : " + e);
794794}
795795
796796```
@@ -835,7 +835,7 @@ try {
835835 minioClient. putObject(" mybucket" , " island.jpg" , " /mnt/photos/island.jpg" )
836836 System . out. println(" island.jpg is uploaded successfully" );
837837} catch (MinioException e) {
838- System . out. println(" Error occured : " + e);
838+ System . out. println(" Error occurred : " + e);
839839}
840840
841841```
@@ -881,7 +881,7 @@ try {
881881 ObjectStat objectStat = minioClient. statObject(" mybucket" , " myobject" );
882882 System . out. println(objectStat);
883883} catch (MinioException e) {
884- System . out. println(" Error occured : " + e);
884+ System . out. println(" Error occurred : " + e);
885885}
886886
887887```
@@ -970,7 +970,7 @@ try {
970970 minioClient. removeIncompleteUpload(" mybucket" , " myobject" );
971971 System . out. println(" successfully removed all incomplete upload session of my-bucketname/my-objectname" );
972972} catch (MinioException e) {
973- System . out. println(" Error occured : " + e);
973+ System . out. println(" Error occurred : " + e);
974974}
975975
976976```
@@ -1015,7 +1015,7 @@ try {
10151015 String url = minioClient. presignedGetObject(" mybucket" , " myobject" , 60 * 60 * 24 );
10161016 System . out. println(url);
10171017} catch (MinioException e) {
1018- System . out. println(" Error occured : " + e);
1018+ System . out. println(" Error occurred : " + e);
10191019}
10201020
10211021```
@@ -1059,7 +1059,7 @@ try {
10591059 String url = minioClient. presignedPutObject(" mybucket" , " myobject" , 60 * 60 * 24 );
10601060 System . out. println(url);
10611061} catch (MinioException e) {
1062- System . out. println(" Error occured : " + e);
1062+ System . out. println(" Error occurred : " + e);
10631063}
10641064
10651065```
@@ -1107,7 +1107,7 @@ try {
11071107 }
11081108 System . out. println(" -F file=@/tmp/userpic.png https://play.minio.io:9000/mybucket" );
11091109} catch (MinioException e) {
1110- System . out. println(" Error occured : " + e);
1110+ System . out. println(" Error occurred : " + e);
11111111
11121112```
11131113
0 commit comments