public class IllegalBucketNameException extends IllegalArgumentException
|Constructor and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalBucketNameException(String s)
IllegalBucketNameExceptionwith the specified detail message. This exception is thrown to indicate that a request was made against a bucket that has a DNS-incompatible bucket name. Use
AmazonS3Builder.enablePathStyleAccess()to work with buckets that are not DNS compatible. For more details see: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
s- The specific reason the bucket name is DNS-incompatible.
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.