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