Exceptional surgery and boundary slopes