Example #1
0
 /* (non-Javadoc)
  * @see org.javarosa.core.services.locale.LocaleDataSource#getLocalizedText()
  */
 public OrderedHashtable getLocalizedText()
 {
     try
     {
         Stream is_renamed = ReferenceManager._().DeriveReference(referenceURI).Stream;
         return(LocalizationUtils.parseLocaleInput(is_renamed));
     }
     catch (IOException e)
     {
         Console.WriteLine(e.StackTrace);
         throw new SystemException("IOException while getting localized text at reference " + referenceURI);
     }
     catch (InvalidReferenceException e)
     {
         Console.WriteLine(e.StackTrace);
         throw new SystemException("Invalid Reference! " + referenceURI);
     }
 }