432433434435436437438439440441442
return result; } catch(Throwable e) { // warn user of failed attempt logError("Failed to instantiate configured object for " + kvp.getKey() + ": " + new StackTraceLogger(e)); } } // upon failure, use default value try
468469470471472473474475476477478
return result; } catch(Throwable e) { // warn user of failed attempt logError("Failed to parse new Type for " + kvp.getKey() + ": " + new StackTraceLogger(e)); } } // upon failure, use default value try
507508509510511512513514515
{ return getIterable(kvp); } catch(ConfigurationErrorsException e) { logError("Could not retrieve " + kvp.getKey() + ": " + new StackTraceLogger(e)); return new ArrayList<T>(); } }