summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/VecMathI18N.java
blob: d1423257e91a25ac872cd64f8265c83e501e83a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * $RCSfile$
 *
 * Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.
 *
 * Use is subject to license terms.
 *
 * $Revision$
 * $Date$
 * $State$
 */

package javax.vecmath;

import java.io.*;
import java.util.*;


class VecMathI18N {
    static String getString(String key) {
	String s;
	try {
	    s = (String) ResourceBundle.getBundle("javax.vecmath.ExceptionStrings").getString(key);
	}
	catch (MissingResourceException e) {
	    System.err.println("VecMathI18N: Error looking up: " + key);
	    s = key;
	}
	return s;
    }
}