Exception: Lhj::JenkinsApi::Exceptions::NothingSubmitted
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Lhj::JenkinsApi::Exceptions::NothingSubmitted
- Defined in:
- lib/lhj/jenkins/exceptions.rb
Overview
This exception class handles cases where parameters are expected but not provided.
Instance Method Summary collapse
-
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ NothingSubmitted
constructor
A new instance of NothingSubmitted.
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, = "", log_level = Logger::ERROR) = "Nothing is submitted." if .empty? super(logger, ) end |