getVertex + exceptions