Exception: DepSelector::Exceptions::NoSolutionFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dep_selector/exceptions.rb

Overview

This exception is thrown by gecode_wrapper and only used internally

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unsatisfiable_problem = nil) ⇒ NoSolutionFound

Returns a new instance of NoSolutionFound.



45
46
47
# File 'lib/dep_selector/exceptions.rb', line 45

def initialize(unsatisfiable_problem=nil)
  @unsatisfiable_problem = unsatisfiable_problem
end

Instance Attribute Details

#unsatisfiable_problemObject (readonly)

Returns the value of attribute unsatisfiable_problem.



44
45
46
# File 'lib/dep_selector/exceptions.rb', line 44

def unsatisfiable_problem
  @unsatisfiable_problem
end