Added the exception handling for the 'ERR'.