javaruntimes/midp/runtime/javasrc/com/nokia/mj/impl/rt/midp/RuntimeErrorDialog.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
191 protected Hashtable getMessageTable() |
191 protected Hashtable getMessageTable() |
192 { |
192 { |
193 if (mMessageTable == null) |
193 if (mMessageTable == null) |
194 { |
194 { |
195 mMessageTable = new Hashtable(); |
195 mMessageTable = new Hashtable(); |
196 mMessageTable.put(new Integer(UNHANDLED_ERROR), "runtime_error_unhandled"); |
196 mMessageTable.put(new Integer(UNHANDLED_ERROR), "runtime_error_unhandled,error_unhandled"); |
197 mMessageTable.put(new Integer(START_UP_ERROR), "system_app_cannot_start"); |
197 mMessageTable.put(new Integer(START_UP_ERROR), "system_app_cannot_start,app_cannot_start"); |
198 mMessageTable.put(new Integer(UNHANDLED_ERROR_DETAILS), "runtime_error_unhandled_details"); |
198 mMessageTable.put(new Integer(UNHANDLED_ERROR_DETAILS), "runtime_error_unhandled_details,error_unhandled_details"); |
199 mMessageTable.put(new Integer(START_UP_ERROR_DETAILS), "runtime_error_unhandled_details"); |
199 mMessageTable.put(new Integer(START_UP_ERROR_DETAILS), "runtime_error_unhandled_details,error_unhandled_details"); |
200 mMessageTable.put(new Integer(DRM_EXPIRED), "secur_error_drm_rights_not_valid"); |
200 mMessageTable.put(new Integer(DRM_EXPIRED), "secur_error_drm_rights_not_valid,drm_rights_not_valid"); |
201 } |
201 } |
202 return mMessageTable; |
202 return mMessageTable; |
203 } |
203 } |
204 |
204 |
205 /** |
205 /** |
211 { |
211 { |
212 synchronized (this) |
212 synchronized (this) |
213 { |
213 { |
214 if (mRes == null) |
214 if (mRes == null) |
215 { |
215 { |
216 mRes = ResourceLoader.getInstance("javausermessages", |
216 mRes = ResourceLoader.getInstance( |
217 "qtn_java_"); |
217 "javausermessages,javaapplicationsecuritymessages", |
|
218 "qtn_java_,txt_java_secur_info_"); |
218 } |
219 } |
219 } |
220 } |
220 return mRes; |
221 return mRes; |
221 } |
222 } |
222 |
223 |