# File lib/ec2/ec2.rb, line 272
    def register_image(image_location)
      link = generate_request("RegisterImage",
                              'ImageLocation' => image_location.to_s)
      request_info(link, QEc2RegisterImageParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end