Exception: ParameterExceptions::InvalidCombination

Inherits:
Error
  • Object
show all
Defined in:
lib/ec2/amitools/parameter_exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name1, name2) ⇒ InvalidCombination

Returns a new instance of InvalidCombination.



22
23
24
# File 'lib/ec2/amitools/parameter_exceptions.rb', line 22

def initialize(name1, name2)
  super("#{name1} and #{name2} may not both be provided")
end