28 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 *
39 */
40
41 package java.util;
42
43 /**
44 * Signals that a resource is missing.
45 * @see java.lang.Exception
46 * @see ResourceBundle
47 * @author Mark Davis
48 * @since JDK1.1
49 */
50 public
51 class MissingResourceException extends RuntimeException {
52
53 /**
54 * Constructs a MissingResourceException with the specified information.
55 * A detail message is a String that describes this particular exception.
56 * @param s the detail message
57 * @param className the name of the resource class
58 * @param key the key for the missing resource.
59 */
60 public MissingResourceException(String s, String className, String key) {
61 super(s);
62 this.className = className;
63 this.key = key;
64 }
65
66 /**
67 * Constructs a <code>MissingResourceException</code> with
68 * <code>message</code>, <code>className</code>, <code>key</code>,
|
28 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 *
39 */
40
41 package java.util;
42
43 /**
44 * Signals that a resource is missing.
45 * @see java.lang.Exception
46 * @see ResourceBundle
47 * @author Mark Davis
48 * @since 1.1
49 */
50 public
51 class MissingResourceException extends RuntimeException {
52
53 /**
54 * Constructs a MissingResourceException with the specified information.
55 * A detail message is a String that describes this particular exception.
56 * @param s the detail message
57 * @param className the name of the resource class
58 * @param key the key for the missing resource.
59 */
60 public MissingResourceException(String s, String className, String key) {
61 super(s);
62 this.className = className;
63 this.key = key;
64 }
65
66 /**
67 * Constructs a <code>MissingResourceException</code> with
68 * <code>message</code>, <code>className</code>, <code>key</code>,
|