From aef0c0215f66f401d1e219b4db11f628769fcb19 Mon Sep 17 00:00:00 2001 From: Scott Gonyea Date: Fri, 10 Dec 2010 10:44:22 +0800 Subject: [PATCH] Added a @todo regarding the use of ArgumentError --- lib/fog/aws/bin.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/fog/aws/bin.rb b/lib/fog/aws/bin.rb index 994b2faf2..5296e0d18 100644 --- a/lib/fog/aws/bin.rb +++ b/lib/fog/aws/bin.rb @@ -15,7 +15,10 @@ class AWS < Fog::Bin Fog::AWS::SimpleDB when :eu_storage, :s3, :storage Fog::AWS::Storage - else + else + # @todo Replace most instances of ArgumentError with NotImplementedError + # @todo For a list of widely supported Exceptions, see: + # => http://www.zenspider.com/Languages/Ruby/QuickRef.html#35 raise ArgumentError, "Unsupported #{self} service: #{key}" end end