01: // DuplicateNameException.java
02: // $Id: DuplicateNameException.java,v 1.2 2000/08/16 21:37:52 ylafon Exp $
03: // (c) COPYRIGHT MIT, INRIA and Keio, 1999.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05: package org.w3c.tools.resources;
06:
07: /**
08: * @version $Revision: 1.2 $
09: * @author Benoît Mahé (bmahe@w3.org)
10: */
11: public class DuplicateNameException extends RuntimeException {
12:
13: public DuplicateNameException(String name) {
14: super (name);
15: }
16:
17: public String getName() {
18: return getMessage();
19: }
20:
21: }
|