case UResourceBundle.ARRAY:
return res.getStringArray();
case UResourceBundle.STRING:
return new String[]{res.getString()};
default:
throw new UResourceTypeMismatchException("Only accept ARRAY and STRING types.");
}
} catch (UResourceTypeMismatchException e){
//#if defined(FOUNDATION10) || defined(J2SE13)
//## throw new DataModuleFormatError(e.getMessage());
//#else