TEZ-1267. Exception handling for VertexManager (zjffdu)

(cherry picked from commit b4674b485dd4e62c177d87581f302b243f24d797)