Java Reference

Java Reference

Detailed Description

This class acts as a intermediate step between a c++ decision builder and a java one.

Its main purpose is to catch the java exception launched when a failure occurs during the Next() call, and to return silently a FailDecision that will propagate the failure back to the C++ code.

Definition at line 23 of file JavaDecisionBuilder.java.

Public Member Functions

final Decision nextWrap (Solver solver)
 This methods wraps the calls to next() and catches fail exceptions. More...
 
Decision next (Solver solver) throws Solver.FailException
 This is the new method to subclass when defining a java decision builder. More...
 

Member Function Documentation

◆ next()

Decision next ( Solver  solver) throws Solver.FailException

This is the new method to subclass when defining a java decision builder.

Definition at line 36 of file JavaDecisionBuilder.java.

◆ nextWrap()

final Decision nextWrap ( Solver  solver)

This methods wraps the calls to next() and catches fail exceptions.

Definition at line 26 of file JavaDecisionBuilder.java.


The documentation for this class was generated from the following file: