Ach herrje!

Does “herrje” come across as the sort of thing that a rather stuffy older person would say? Something that was maybe more common in generations past?