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.");