STORM_LOG_THROW(!this->hasLocation(location.getName()),storm::exceptions::WrongFormatException,"Cannot add location with name '"<<location.getName()<<"', because a location with this name already exists.");
STORM_LOG_THROW(!this->hasLocation(location.getName()),storm::exceptions::WrongFormatException,"Cannot add location with name '"<<location.getName()<<"', because a location with this name already exists.");
STORM_LOG_THROW(it!=locationToIndex.end(),storm::exceptions::InvalidArgumentException,"Cannot make unknown location '"<<name<<"' the initial location.");
STORM_LOG_THROW(it!=locationToIndex.end(),storm::exceptions::InvalidArgumentException,"Cannot make unknown location '"<<name<<"' the initial location.");