heat engine : fix exception syntax issue

Fix exception clause to use a tuple or the two types of
exception are not correctly caught.

fixes bug 1154708

Change-Id: Ia742c92dc189d03f8034ca864334526f1234dde3
Merge "heat engine : fix exception syntax issue"