Return correct exceptions