Mend exception specifier specificity