fixing exception example