OOIION-1325: Added exception import that was missing