class BucketLocationError

Public Class Methods

new(bucket, location, bucket_location) click to toggle source
Calls superclass method AMIToolExceptions::EC2FatalError::new
# 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