Generalise showException