Exception: JenkinsApi::Exceptions::NotFound

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

Overview

This exception class handles cases where a requested page is not found on the Jenkins API.

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NotFound.



147
148
149
150
151
# File 'lib/improved_jenkins_client/exceptions.rb', line 147

def initialize(logger, message = "", log_level = Logger::ERROR)
  msg = message.empty? ? "Requested component is not found on the" +
        " Jenkins CI server." : message
  super(logger, msg)
end