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.



50
51
52
# File 'lib/dep_selector/exceptions.rb', line 50

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

Instance Attribute Details

#unsatisfiable_problemObject (readonly)

Returns the value of attribute unsatisfiable_problem.



49
50
51
# File 'lib/dep_selector/exceptions.rb', line 49

def unsatisfiable_problem
  @unsatisfiable_problem
end