Throw macro caused syntax error exception

'Throw: something' statement caused syntax error upon class load
(i.e. without even being executed)

Change-Id: I99217dd31c26ca9cd2488fd2510870867d6fe435
Closes-Bug: #1369491