/* ** Name: getResource ** ** Description: ** Returns the resource for the default Locale. ** ** Input: ** None. ** ** Output: ** None. ** ** Returns: ** ResourceBundle Resource for default Locale. ** ** History: ** 18-Apr-00 (gordy) ** Created.*/ public static ResourceBundle getResource() { if (resource == null) { /* ** Load the Locale specific resources for the default Locale ** and make sure that a resource bundle (even empty) exists. */ try { //resource = ResourceBundle.getBundle("ingres.util.Rsrc"); resource = new ErrRsrc(); } catch //(System.Exception ignore) { resource = new EmptyRsrc(); } } // endif (resource == null) return(resource); } // getResource
/* ** Name: getResource ** ** Description: ** Returns the resource for the default Locale. ** ** Input: ** None. ** ** Output: ** None. ** ** Returns: ** ResourceBundle Resource for default Locale. ** ** History: ** 18-Apr-00 (gordy) ** Created.*/ public static ResourceBundle getResource() { if (resource == null) { /* ** Load the Locale specific resources for the default Locale ** and make sure that a resource bundle (even empty) exists. */ try { //resource = ResourceBundle.getBundle("ingres.util.Rsrc"); resource = new ErrRsrc(); } catch //(System.Exception ignore) { resource = new EmptyRsrc(); } } // endif (resource == null) return (resource); }