Exceptional surgeries on knots with exceptional classes