Exception: Common::InconsistentParameter
- Inherits:
-
ParameterError
- Object
- StandardError
- CloudboxError
- ParameterError
- Common::InconsistentParameter
- Defined in:
- lib/common/cloudbox_exceptions.rb
Overview
Throws an exception if a parameter is inconsistent.
Instance Method Summary collapse
-
#initialize(msg, usage, *params) ⇒ InconsistentParameter
constructor
A new instance of InconsistentParameter.
Methods inherited from ParameterError
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 |