com.centrasite.control.adapters.advancedsearch
Class I18NErrorHandlingUtil

java.lang.Object
  extended by com.centrasite.control.adapters.advancedsearch.I18NErrorHandlingUtil

public class I18NErrorHandlingUtil
extends java.lang.Object

Retreives the I18N String based on the locale. In case of errors the result is "#"+defaultValue if throwException flag is false


Constructor Summary
I18NErrorHandlingUtil()
           
 
Method Summary
static java.lang.String getMessage(java.lang.String i18nID, java.lang.String defaultValue, java.util.Locale loc, boolean throwException)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18NErrorHandlingUtil

public I18NErrorHandlingUtil()
Method Detail

getMessage

public static java.lang.String getMessage(java.lang.String i18nID,
                                          java.lang.String defaultValue,
                                          java.util.Locale loc,
                                          boolean throwException)