if (StringUtils.equals(row.getStockName(), pGetHoldStockName)) {
return row;
}
}
}
NoSuchHoldingException noHolding = new NoSuchHoldingException();
noHolding.setWithParams(Constants.SP_ER_ERROR, "Customer %1 does not own this stock", pCustomer.getCustomerName());
ErrorMgr.addError(noHolding);
throw noHolding;
}