Exception: JenkinsApi::Exceptions::NotFound
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::NotFound
- 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.
Direct Known Subclasses
CrumbNotFound, JobNotFound, NodeNotFound, PluginNotFound, ViewNotFound
Instance Method Summary collapse
-
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ NotFound
constructor
A new instance of NotFound.
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, = "", log_level = Logger::ERROR) msg = .empty? ? "Requested component is not found on the" + " Jenkins CI server." : super(logger, msg) end |