Subversion Repositories SmartDukaan

Rev

Rev 22227 | Rev 22229 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22227 Rev 22228
Line 89... Line 89...
89
					}else{
89
					}else{
90
						ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, row.getPhysicalNumberOfCells(), "TGLSTNG_VE_1011");
90
						ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, row.getPhysicalNumberOfCells(), "TGLSTNG_VE_1011");
91
						//LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
91
						//LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
92
						throw profitMandiBusinessException;
92
						throw profitMandiBusinessException;
93
					}
93
					}
-
 
94
					//Headers are OK. Lets break now and iterate through first row.
-
 
95
					break;
94
				}else if(rowNumber == 0 && row == null){
96
				}else if(rowNumber == 0 && row == null){
95
					ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
97
					ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
96
					LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
98
					LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
97
					throw profitMandiBusinessException;
99
					throw profitMandiBusinessException;
98
					// missing headers in first row
100
					// missing headers in first row