Exception: BucketLocationError
- Inherits:
-
AMIToolExceptions::EC2FatalError
- Object
- RuntimeError
- AMIToolExceptions::EC2FatalError
- BucketLocationError
- Defined in:
- lib/ec2/amitools/uploadbundle.rb
Overview
——————————————————————————#
Instance Attribute Summary
Attributes inherited from AMIToolExceptions::EC2FatalError
Instance Method Summary collapse
-
#initialize(bucket, location, bucket_location) ⇒ BucketLocationError
constructor
A new instance of BucketLocationError.
Constructor Details
#initialize(bucket, location, bucket_location) ⇒ BucketLocationError
Returns a new instance of BucketLocationError.
46 47 48 49 50 |
# File 'lib/ec2/amitools/uploadbundle.rb', line 46 def initialize(bucket, location, bucket_location) location = "US" if location == :unconstrained bucket_location = "US" if bucket_location == :unconstrained super(10, "Bucket \"#{bucket}\" already exists in \"#{bucket_location}\" and \"#{location}\" was specified.") end |