Man convicted for harassing wife in Hassan