summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/VecMathI18N.java
blob: b005138702f2f099f1b18ba07ad127e408517f28 (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) 2006 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;
    }
}