another check to confirm proper exception type