@Test public void test() { final Model mo = new DefaultModel(); final ReconfigurationPlan plan = new DefaultReconfigurationPlan(mo); final InconsistentSolutionException ex = new InconsistentSolutionException(plan, "foo"); Assert.assertEquals(ex.getModel(), mo); Assert.assertEquals(ex.getResult(), plan); Assert.assertEquals(ex.getMessage(), "foo"); }
public ReconfigurationPlan getResult() { return plan; }
InconsistentSolutionException extends SchedulerModelingException { public ReconfigurationPlan getResult() { return plan; } }
InconsistentSolutionException extends SchedulerModelingException { public ReconfigurationPlan getResult() { return plan; } InconsistentSolutionException(ReconfigurationPlan p, String msg); }
InconsistentSolutionException extends SchedulerModelingException { public ReconfigurationPlan getResult() { return plan; } InconsistentSolutionException(ReconfigurationPlan p, String msg); ReconfigurationPlan getResult(); }
InconsistentSolutionException extends SchedulerModelingException { public ReconfigurationPlan getResult() { return plan; } InconsistentSolutionException(ReconfigurationPlan p, String msg); ReconfigurationPlan getResult();  }