Could epilepsy be caused by inhaling toxic chemicals?

I work next to a car paint shop who's fumes come into my office after being there 4 months I developed epilepsy could this be the cause?