OSDN Git Service

* All files: Updated copyright to reflect Cygnus purchase.
[pf3gnuchains/gcc-fork.git] / libjava / java / util / MissingResourceException.java
1 /* Copyright (C) 1998, 1999  Red Hat, Inc.
2
3    This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7 details.  */
8
9 package java.util;
10  
11 /**
12  * @author Warren Levy <warrenl@cygnus.com>
13  * @date September 2, 1998.
14  */
15 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
16  * "The Java Language Specification", ISBN 0-201-63451-1
17  * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
18  * Status:  Believed complete and correct.
19  */
20  
21 public class MissingResourceException extends RuntimeException
22 {
23   private String className;
24   private String key;
25
26   public MissingResourceException(String msg, String cName, String k)
27   {
28     super(msg);
29     className = cName;
30     key = k;
31   }
32
33   public String getClassName()
34   {
35     return className;
36   }
37
38   public String getKey()
39   {
40     return key;
41   }
42 }
43