Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs

    r3742 r4068  
    2222using System;
    2323using System.Collections;
     24using System.Collections.Generic;
     25using HeuristicLab.Persistence.Auxiliary;
    2426using HeuristicLab.Persistence.Core;
     27using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2528using HeuristicLab.Persistence.Interfaces;
    26 using System.Collections.Generic;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Persistence.Auxiliary;
    2929
    3030namespace HeuristicLab.Persistence.Default.CompositeSerializers {
     
    7575          dict.Add(key.Value, value.Value);
    7676        }
    77       } catch (InvalidOperationException e) {
     77      }
     78      catch (InvalidOperationException e) {
    7879        throw new PersistenceException("Dictionaries must contain an even number of elements (key+value).", e);
    79       } catch (NotSupportedException e) {
     80      }
     81      catch (NotSupportedException e) {
    8082        throw new PersistenceException("The serialized dictionary type was read-only or had a fixed size and cannot be deserialized.", e);
    81       } catch (ArgumentNullException e) {
     83      }
     84      catch (ArgumentNullException e) {
    8285        throw new PersistenceException("Dictionary key was null.", e);
    83       } catch (ArgumentException e) {
     86      }
     87      catch (ArgumentException e) {
    8488        throw new PersistenceException("Duplicate dictionary key.", e);
    8589      }
Note: See TracChangeset for help on using the changeset viewer.