now throwing exception if ERROR message caught