Move custom parameters in exception constructors to first position