diff --git a/prism/src/prism/NondetModelChecker.java b/prism/src/prism/NondetModelChecker.java index 3c4a9133..f91d7ef8 100644 --- a/prism/src/prism/NondetModelChecker.java +++ b/prism/src/prism/NondetModelChecker.java @@ -373,8 +373,7 @@ public class NondetModelChecker extends NonProbModelChecker //check if there are state rewards and display a warning if (stateRewards != null && !stateRewards.equals(JDD.ZERO)) - mainLog.printWarning("Multi-objective queries currently only support action rewards. State rewards were found, but will be ignored."); - + throw new PrismException("Multi-objective model checking does not support state rewards; please convert to transition rewards"); if (transRewards == null) throw new PrismException("Invalid reward structure index \"" + rs + "\""); rewardsIndex.add(transRewards);