You would need to know the specific chemicals first and then consult the MSDS for that chemical. However, even though you see it may be carcinogenic there is no guarantee it caused your cancer. Other than
HPV I don't know of any clear "proof" as to cause and effect.
You could continue your profession provided you are physically able. You may want to consider a ventilator filtration type device for added protection.
I also inhaled some very toxic solvent that caused industrial pneumonia and lung bleeding for weeks back in 1973 as well as working with unventilated MEK at an aircraft instrument company. I wondered when I was diagnosed but I know it would only be a guess on my part.