Setter for exceptionIfVertex.
exceptionIfVertex: Expects an exception for Vertex matching the string.