Raw cake carries a high risk of causing food poisoning or at the very least, stomach problems. Eggs could carry salmonella, an often deadly bacteria. If the eggs are cooked for long enough, the bacteria won't be killed. Then, flour should also not be ingested unless cooked. Otherwise, it too can cause cramps, constipation, and vomiting.