Exception consistency on addEdge with null label.