Provides error location for ArithmeticException. (#11877)

Change-Id: Ieb63ad556c3dc01196f0b9898aed9670923c9138