public PathConstraintData (String name) { if (name == null) throw new ArgumentNullException("name", "name cannot be null."); this.name = name; }