STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasBooleanReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve boolean value of non-boolean variable '"<<name<<"'.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve integer value of non-integer variable '"<<name<<"'.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve double value of non-double variable '"<<name<<"'.");