protected String tokenToString(List recordList,int index,String def){
  try {
    Object obj=recordList.get(index);
    if (obj != null) {
      return obj.toString();
    }
  }
 catch (  Exception e) {
  }
  return def;
}

protected String tokenToString ( List recordList , int index , String def ) { try { Object obj = recordList . get ( index ) ; if ( obj != null ) { return obj . toString ( ) ; } } catch ( Exception e ) { } return def ; }
scope object to string . if anything goes wrong the default is returned .
