STORM_LOG_THROW(model->isSparseModel(),storm::exceptions::NotSupportedException,"Counterexample generation is currently only supported for sparse models.");
STORM_LOG_THROW(sparseModel->isOfType(storm::models::ModelType::Dtmc)||sparseModel->isOfType(storm::models::ModelType::Mdp),storm::exceptions::NotSupportedException,"Counterexample is currently only supported for discrete-time models.");
STORM_LOG_THROW(!storm::logic::isLowerBound(comparisonType),storm::exceptions::NotSupportedException,"Lower bounds in counterexamples are only supported for probability formulas.");
STORM_LOG_THROW(model.hasRewardModel(rewardName.get()),storm::exceptions::InvalidPropertyException,"Property refers to reward "<<rewardName.get()<<" but model does not contain such a reward model.");
STORM_LOG_THROW(model.getRewardModel(rewardName.get()).hasOnlyStateRewards(),storm::exceptions::NotSupportedException,"We only support state-based rewards at the moment.");