Investigation of exchange potentials for excited states by parameter fitting