Importing the right module for the proper handling of exception

Change-Id: I265be41d858acfebc92a227fa34115668c9873f0