Exception: JenkinsApi::Exceptions::NotFound
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::NotFound
- Defined in:
- lib/jenkins_api_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)
-
- (NotFound) initialize(logger, message = "", log_level = Logger::ERROR)
constructor
A new instance of NotFound.
Constructor Details
- (NotFound) initialize(logger, message = "", log_level = Logger::ERROR)
Returns a new instance of NotFound
147 148 149 150 151 |
# File 'lib/jenkins_api_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 |