On the exact solution of non-uniform torsion for beams with axialsymmetric cross-section