Exception: Common::InconsistentParameter

Inherits:
ParameterError show all
Defined in:
lib/common/cloudbox_exceptions.rb

Overview

Throws an exception if a parameter is inconsistent.

Instance Method Summary collapse

Methods inherited from ParameterError

#usage

Constructor Details

#initialize(msg, usage, *params) ⇒ InconsistentParameter

Returns a new instance of InconsistentParameter.



386
387
388
# File 'lib/common/cloudbox_exceptions.rb', line 386

def initialize(msg, usage, *params)
  super("Inconsistent parameters: " + params.join(", ") + ": " + msg, usage)
end