COMP: removed warnings on Windows due to generic vs excp obj throw.

Since the exception is never examined in the catch clause, it
needn't be named, and a simple throw is sufficient.

Change-Id: I8723c2846986a01a9cea6dead4e2d653eede82ba
Merge topic 'WindowsOptimizerv4Warnings'

4f95bb2 COMP: removed warnings on Windows due to generic vs excp obj throw.