updated the exception