Exception: JenkinsApi::Exceptions::JobNotFound
- Inherits:
-
NotFound
- Object
- RuntimeError
- ApiException
- NotFound
- JenkinsApi::Exceptions::JobNotFound
- Defined in:
- lib/jenkins_api_client/exceptions.rb
Overview
This exception class handles cases where the requested job does not exist in Jenkins.
Instance Method Summary (collapse)
-
- (JobNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
constructor
A new instance of JobNotFound.
Constructor Details
- (JobNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
Returns a new instance of JobNotFound
172 173 174 175 |
# File 'lib/jenkins_api_client/exceptions.rb', line 172 def initialize(logger, = "", log_level = Logger::ERROR) msg = .empty? ? "The specified job is not found" : super(logger, msg) end |