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/ArraySerializer.cs

    r3742 r4068  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using HeuristicLab.Persistence.Core;
     25using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2426using HeuristicLab.Persistence.Interfaces;
    25 using System.Collections.Generic;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    27 using System.Text;
    2827
    2928namespace HeuristicLab.Persistence.Default.CompositeSerializers {
     
    9695        }
    9796        return Array.CreateInstance(t.GetElementType(), lengths, lowerBounds);
    98       } catch (InvalidOperationException x) {
     97      }
     98      catch (InvalidOperationException x) {
    9999        throw new PersistenceException("Insufficient meta information to construct array instance.", x);
    100       } catch (InvalidCastException x) {
     100      }
     101      catch (InvalidCastException x) {
    101102        throw new PersistenceException("Invalid format of array metainfo.", x);
    102103      }
     
    129130          }
    130131        }
    131       } catch (InvalidOperationException x) {
     132      }
     133      catch (InvalidOperationException x) {
    132134        throw new PersistenceException("Insufficient data to fill array instance", x);
    133       } catch (InvalidCastException x) {
     135      }
     136      catch (InvalidCastException x) {
    134137        throw new PersistenceException("Invalid element data. Cannot fill array", x);
    135       } catch (IndexOutOfRangeException x) {
     138      }
     139      catch (IndexOutOfRangeException x) {
    136140        throw new PersistenceException("Too many elements during array deserialization", x);
    137141      }
Note: See TracChangeset for help on using the changeset viewer.