FormulaErrorCode function ( int arg0 ) { boolean loc0 = false ; FormulaErrorCode loc1 = UNKNOWN ; for ( int loc2 = 0 ; loc2 < codes . length && ! loc0 ; loc2 ++ ) { if ( codes [ loc2 ] . errorCode == arg0 ) { loc0 = true ; loc1 = codes [ loc2 ] ; } } return loc1 ; }
gets the error type given just the code concode_field_sep FormulaErrorCode NULL concode_elem_sep FormulaErrorCode NAME concode_elem_sep FormulaErrorCode NUM concode_elem_sep FormulaErrorCode VALUE concode_elem_sep FormulaErrorCode[] codes concode_elem_sep int errorCode concode_elem_sep String description concode_elem_sep FormulaErrorCode DIV0 concode_elem_sep FormulaErrorCode NA concode_elem_sep FormulaErrorCode UNKNOWN concode_elem_sep FormulaErrorCode REF concode_field_sep int getCode concode_elem_sep String getDescription