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