Line 49
Link Here
|
|
|
49 |
private boolean _ignoreFormulaExceptions; |
Line 113
Link Here
|
113 |
return evaluateFormulaCellValue(cell); |
114 |
if(_ignoreFormulaExceptions){ |
114 |
-- |
115 |
try{ |
|
|
116 |
return evaluateFormulaCellValue(cell); |
117 |
} |
118 |
catch(Throwable e){ |
119 |
return new CellValue(""); |
120 |
} |
121 |
} |
122 |
return evaluateFormulaCellValue(cell); |
Line 270
Link Here
|
|
|
279 |
|
280 |
/** |
281 |
* Sets a mode - where exceptions during evaluation of formulas will be |
282 |
* ignored |
283 |
*/ |
284 |
public void setIgnoreFormulaException(){ |
285 |
_ignoreFormulaExceptions = true; |
286 |
} |