1: // @author Frank M. Carrano, Timothy M. Henry
2: // @version 5.0
4: public class Name implements Cloneable
5: // . . .
7: public Object clone()
8: {
9: Name theCopy = null;
11: try
12: {
13: theCopy = (Name)super.clone(); // Object can throw an exception
14: }
15: catch (CloneNotSupportedException e)
16: {
17: System.err.println("Name cannot clone: " + e.toString());
18: }
20: return theCopy;
21: } // end clone