correct the exception throw message