javacommons/utils/javasrc/com/nokia/mj/impl/utils/InstallerErrorMessage.java
changeset 79 2f468c1958d0
parent 61 bf7ee68962da
equal deleted inserted replaced
76:4ad59aaee882 79:2f468c1958d0
    79             messageTable.put(new Integer(UNINST_CANCEL), "uninst_cancel");
    79             messageTable.put(new Integer(UNINST_CANCEL), "uninst_cancel");
    80             messageTable.put(new Integer(OTHER_UNEXPECTED_ERR), "other_unexpected");
    80             messageTable.put(new Integer(OTHER_UNEXPECTED_ERR), "other_unexpected");
    81         }
    81         }
    82         else
    82         else
    83         {
    83         {
    84             messageTable.put(new Integer(INST_NO_MEM), "info_there_is_not_enough_space_currently");
    84             messageTable.put(new Integer(INST_NO_MEM), "error_info_there_is_not_enough_space_currently");
    85             messageTable.put(new Integer(INST_NO_NET), "info_network_is_unavailable_currently");
    85             messageTable.put(new Integer(INST_NO_NET), "error_info_network_is_unavailable_currently");
    86             messageTable.put(new Integer(INST_CORRUPT_PKG), "info_installation_package_is_invalid");
    86             messageTable.put(new Integer(INST_CORRUPT_PKG), "error_info_installation_package_is_invalid");
    87             messageTable.put(new Integer(INST_COMPAT_ERR), "info_application_is_not_compatible_with");
    87             messageTable.put(new Integer(INST_COMPAT_ERR), "error_info_application_is_not_compatible_with");
    88             messageTable.put(new Integer(INST_AUTHORIZATION_ERR), "info_there_is_a_security_issue_with_this");
    88             messageTable.put(new Integer(INST_AUTHORIZATION_ERR), "error_info_there_is_a_security_issue_with_this");
    89             messageTable.put(new Integer(INST_AUTHENTICATION_ERR), "info_there_is_a_security_issue_with_this");
    89             messageTable.put(new Integer(INST_AUTHENTICATION_ERR), "error_info_there_is_a_security_issue_with_this");
    90             messageTable.put(new Integer(INST_PUSH_REG_ERR), "info_an_unexpected_error_occurred");
    90             messageTable.put(new Integer(INST_PUSH_REG_ERR), "error_info_an_unexpected_error_occurred");
    91             messageTable.put(new Integer(INST_UNEXPECTED_ERR), "info_an_unexpected_error_occurred");
    91             messageTable.put(new Integer(INST_UNEXPECTED_ERR), "error_info_an_unexpected_error_occurred");
    92             messageTable.put(new Integer(INST_CANCEL), "info_application_not_installed");
    92             messageTable.put(new Integer(INST_CANCEL), "error_info_application_not_installed");
    93             messageTable.put(new Integer(UNINST_NOT_ALLOWED), "info_application_cannot_be_deleted");
    93             messageTable.put(new Integer(UNINST_NOT_ALLOWED), "error_info_application_cannot_be_deleted");
    94             messageTable.put(new Integer(UNINST_UNEXPECTED_ERR), "installer_info_uninstallation_failed");
    94             messageTable.put(new Integer(UNINST_UNEXPECTED_ERR), "installer_info_uninstallation_failed");
    95             messageTable.put(new Integer(UNINST_CANCEL), "info_application_not_deleted");
    95             messageTable.put(new Integer(UNINST_CANCEL), "error_info_application_not_deleted");
    96             messageTable.put(new Integer(OTHER_UNEXPECTED_ERR), "info_an_unexpected_error_occurred");
    96             messageTable.put(new Integer(OTHER_UNEXPECTED_ERR), "error_info_an_unexpected_error_occurred");
    97         }
    97         }
    98         iMessageTable = messageTable;
    98         iMessageTable = messageTable;
    99         return iMessageTable;
    99         return iMessageTable;
   100     }
   100     }
   101 
   101 
   112             {
   112             {
   113                 iRes = ResourceLoader.getInstance("javainstallation", "qtn_java_inst_error_");
   113                 iRes = ResourceLoader.getInstance("javainstallation", "qtn_java_inst_error_");
   114             }
   114             }
   115             else
   115             else
   116             {
   116             {
   117                 iRes = ResourceLoader.getInstance("common_errors", "txt_error_");
   117                 iRes = ResourceLoader.getInstance(null, null, "common_errors", "txt_");
   118             }
   118             }
   119         }
   119         }
   120         return iRes;
   120         return iRes;
   121     }
   121     }
   122 
   122