Exception: Lhj::JenkinsApi::Exceptions::NothingSubmitted

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

Overview

This exception class handles cases where parameters are expected but not provided.

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NothingSubmitted.



22
23
24
25
# File 'lib/lhj/jenkins/exceptions.rb', line 22

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "Nothing is submitted." if message.empty?
  super(logger, message)
end