Miscarriage by eating things I shouldn't have?

Does anyone know if it's common to have a miscarriage by drinking too much caffeine? Because I think that's how mine happened. I just want to know if it could be true...