context exception must be an instance of exception