ok i have had cats too.
and i had a similar expereince with my cat also.

Unfortunately even he couldn't survive it

) Although in his case, the cause was some grass he had eaten which had been sprayed upon. Mostly its the food poisoning thats responsible.
If i were you, i will still suggest taking him to the hospital. Atleast there you have some chance. Right now its even hurting him also.