Exception: Lhj::JenkinsApi::Exceptions::ViewNotFound

Inherits:
NotFound show all
Defined in:
lib/lhj/jenkins/exceptions.rb

Overview

This exception class handles cases where the requested view does not exist in Jenkins.

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ViewNotFound.



161
162
163
164
# File 'lib/lhj/jenkins/exceptions.rb', line 161

def initialize(logger, message = "", log_level = Logger::ERROR)
  msg = message.empty? ? "The specified view is not found" : message
  super(logger, msg)
end