Handle the exception when user try to add incorrect data