257258259260261262263264265
private Object handleOtherException(String expr, boolean throwExceptionOnFailure, Exception e) { logLookupFailure(expr, e); if (throwExceptionOnFailure) throw new XWorkException(e); return findInContext(expr); }
325326327328329330331332333334
if (ret == null) { if (shouldLogNoSuchPropertyWarning(e)) { LOG.warn("Could not find property [" + ((NoSuchPropertyException) e).getName() + "]"); } if (throwExceptionOnFailure) { throw new XWorkException(e); } } return ret; }
181182183184185186187188
ResultConfig resultConfig = new ResultConfig(resultCode, resultClass, params); try { return objectFactory.buildResult(resultConfig, invocationContext.getContextMap()); } catch (Exception e) { throw new XWorkException("Unable to build codebehind result", e, resultConfig); } }
799800801802803804805806807808809
} } } } catch (IOException ex) { if (require) { throw new XWorkException("Cannot load conversion properties file: "+propsName, ex); } else { LOG.debug("Cannot load conversion properties file: "+propsName, ex); } } }
176177178179180181182183
.addParam(config.getDefaultResultParam(), path) .build(); try { return objectFactory.buildResult(resultConfig, invocationContext.getContextMap()); } catch (Exception e) { throw new XWorkException("Unable to build codebehind result", e, resultConfig); } }
352353354355356357358359
ResultConfig resultConfig = new ResultConfig.Builder(resultCode, resultClass).addParams(params).build(); try { return objectFactory.buildResult(resultConfig, invocationContext.getContextMap()); } catch (Exception e) { throw new XWorkException("Unable to build convention result", e, resultConfig); } }
358359360361362363364365
194195196197198199200201
ResultConfig resultConfig = new ResultConfig.Builder(resultCode, resultTypeConfig.getClassName()).addParams(params).build(); try { return objectFactory.buildResult(resultConfig, context.getContextMap()); } catch (Exception e) { throw new XWorkException("Unable to build convention result", e, resultConfig); } }
193194195196197198199200
ResultConfig resultConfig = new ResultConfig.Builder(resultCode, resultTypeConfig.getClassName()) .addParams(params).build(); try { return objectFactory.buildResult(resultConfig, context.getContextMap()); } catch (Exception e) { throw new XWorkException("Unable to build convention result", e, resultConfig); } }
806807808809810811812813814815816