Changeset 6737 for branches/PersistenceSpeedUp/HeuristicLab.Persistence/3.3/Default/Xml/EasyXmlGenerator.cs
- Timestamp:
- 09/12/11 10:12:50 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp/HeuristicLab.Persistence/3.3/Default/Xml/EasyXmlGenerator.cs
r5489 r6737 58 58 /// <returns>The token in serialized form.</returns> 59 59 protected override string Format(EndToken endToken) { 60 return CreateNodeEnd( typeCache[endToken.TypeId]);60 return CreateNodeEnd("END"); 61 61 } 62 62 … … 154 154 File.Copy(tempfile, filename, true); 155 155 File.Delete(tempfile); 156 } 157 catch (Exception) { 156 } catch (Exception) { 158 157 Logger.Warn("Exception caught, no data has been written."); 159 158 throw; … … 190 189 writer.Flush(); 191 190 } 192 } 193 catch (PersistenceException) { 191 } catch (PersistenceException) { 194 192 throw; 195 } 196 catch (Exception e) { 193 } catch (Exception e) { 197 194 throw new PersistenceException("Unexpected exception during Serialization.", e); 198 195 }
Note: See TracChangeset
for help on using the changeset viewer.