[Quantproject-developers] QuantProject/b1_ADT/FileManaging ObjectArchiver.cs, 1.3, 1.4
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2006-07-30 13:58:29
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/FileManaging In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16800/b1_ADT/FileManaging Modified Files: ObjectArchiver.cs Log Message: - a try catch structure has been cut out Index: ObjectArchiver.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/FileManaging/ObjectArchiver.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ObjectArchiver.cs 8 Jun 2006 18:43:57 -0000 1.3 --- ObjectArchiver.cs 30 Jul 2006 13:58:26 -0000 1.4 *************** *** 64,69 **** object returnValue = null; ! try ! { ObjectArchiver.stream = new FileStream( fullPath, --- 64,69 ---- object returnValue = null; ! // try ! // { ObjectArchiver.stream = new FileStream( fullPath, *************** *** 72,85 **** FileShare.None); returnValue = ObjectArchiver.formatter.Deserialize(stream); ! } ! catch( Exception ex ) ! { ! string stringForBreakpoint = ex.Message; ! stringForBreakpoint = stringForBreakpoint; ! } ! finally ! { ObjectArchiver.stream.Close(); ! } return returnValue; } --- 72,85 ---- FileShare.None); returnValue = ObjectArchiver.formatter.Deserialize(stream); ! // } ! // catch( Exception ex ) ! // { ! // string stringForBreakpoint = ex.Message; ! // stringForBreakpoint = stringForBreakpoint; ! // } ! // finally ! // { ObjectArchiver.stream.Close(); ! // } return returnValue; } |