325. Whoever, except in the case provided by section 335, voluntarily causes grievous hurt, shall be punished with imprisonment for a term which may extend to seven years, and shall also be liable to fine.