Exception: Lhj::JenkinsApi::Exceptions::CLIError

Inherits:
ApiException
  • Object
show all
Defined in:
lib/lhj/jenkins/exceptions.rb

Overview

Exception occurred while running java CLI commands

Instance Method Summary collapse

Constructor Details

#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ CLIError

Returns a new instance of CLIError.



208
209
210
211
# File 'lib/lhj/jenkins/exceptions.rb', line 208

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "Unable to execute the command." if message.empty?
  super(logger, message)
end