A family of exceptional polynomials in characteristic three