WmfException responds to base getCode()

Change-Id: Ie96abfc12b4733a169939a709b90645e185a26d3