Create InvalidEdgeException