Exception: RHC::ServerAPINotSupportedException

Inherits:
UnsupportedError show all
Defined in:
lib/rhc/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#code

Instance Method Summary collapse

Constructor Details

#initialize(min_version, current_version) ⇒ ServerAPINotSupportedException

Returns a new instance of ServerAPINotSupportedException.



239
240
241
# File 'lib/rhc/exceptions.rb', line 239

def initialize(min_version, current_version)
  super "The server does not support this command (requires #{min_version}, found #{current_version})."
end