Add an explicit ZOOM:: prefix to the catch(exception& e) clause.