Coverage details for ui.Messages

LineHitsSource
1 package ui;
2  
3 import java.util.MissingResourceException;
4 import java.util.ResourceBundle;
5  
62public class Messages {
7     private static final String BUNDLE_NAME = "ui.resource.text.strings"; //$NON-NLS-1$
8  
98    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
102            .getBundle(BUNDLE_NAME);
11  
120    private Messages() {
130    }
14  
15     public static String getString(String key) {
16         // TODO Auto-generated method stub
17         try {
188            return RESOURCE_BUNDLE.getString(key);
190        } catch (MissingResourceException e) {
200            return '!' + key + '!';
21         }
22     }
23 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.