Subversion Repository Public Repository

litesoft

Diff Revisions 969 vs 970 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/support/ExceptionDisplayHelper.java

Diff revisions: vs.
  @@ -1,5 +1,6 @@
1 1 package com.temp.foundation.client.support;
2 2
3 + import org.litesoft.commonfoundation.base.*;
3 4 import org.litesoft.externalization.shared.*;
4 5
5 6 import com.temp.common.shared.utils.*;
  @@ -27,7 +28,7 @@
27 28 * "UncaughtExceptionHandler" or the un-handled problem fro mthe RPCall.
28 29 *
29 30 * @author georgs
30 - * @see E13nSubstitutionData
31 + * @see KeyedTextValues
31 32 */
32 33 public class ExceptionDisplayHelper {
33 34
  @@ -68,7 +69,7 @@
68 69 private final String[] additionalTextBlocks;
69 70 private boolean noDetails, noAdditionalTextBlocks;
70 71
71 - public ExceptionDisplayHelper( E13nSubstitutionData sd, String source, String context, Throwable throwable, String... additionalTextBlocks ) {
72 + public ExceptionDisplayHelper( KeyedTextValues sd, String source, String context, Throwable throwable, String... additionalTextBlocks ) {
72 73 titleText = new StringProxy( sd, "Title" );
73 74 sourceText = new StringProxy( sd, "Source" );
74 75 contextText = new StringProxy( sd, "Context" );
  @@ -174,12 +175,12 @@
174 175 }
175 176
176 177 private static class StringProxy {
177 - private final E13nSubstitutionData sd;
178 + private final KeyedTextValues sd;
178 179 private final String prefix, namedSubId, noNamedSubId;
179 180 private boolean noAdd = false;
180 181 private String text = null;
181 182
182 - StringProxy( E13nSubstitutionData sd, String name ) {
183 + StringProxy( KeyedTextValues sd, String name ) {
183 184 this.sd = sd;
184 185 prefix = KEY_NAME_PREFIX + name;
185 186 namedSubId = named( name );