private static ResourceBundle getResourceBundle ( String enumClassName ) { String bundleName = enumClassName . replace ( ' ' , ' ' ) ; return ResourceBundle . getBundle ( bundleName ) ; }
Returns the specified resource bundle or throws an exception .