question: protected void saveProperties ( Properties props , File filehandle , String header ) throws SMSException { FileOutputStream fileostr = null ; try { fileostr = new FileOutputStream ( filehandle ) ; props . store ( fileostr , header ) ; } catch ( FileNotFoundException e ) { String errmsg = "SMSFlatFileObjectBase.saveProperties: " + ( header == null ? "" : header + ": " ) + " File, " + filehandle . getPath ( ) + ". Exception: " + e . getMessage ( ) ; mDebug . error ( "SMSFlatFileObjectBase.saveProperties" , e ) ; throw new ServiceNotFoundException ( errmsg ) ; } catch ( IOException e ) { String errmsg = "SMSFlatFileObjectBase.saveProperties: " + ( header == null ? "" : header + ": " ) + " File, " + filehandle . getPath ( ) + ". Exception: " + e . getMessage ( ) ; mDebug . error ( "SMSFlatFileObjectBase.saveProperties" , e ) ; throw new ServiceNotFoundException ( errmsg ) ; } finally { try { fileostr . close ( ) ; } catch ( IOException e ) { } } }
target:  Saves properties to the attributes file handle, with given objName  in the file header.