Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/10 02:43:21 (14 years ago)
Author:
swagner
Message:

Added storable constructors in HeuristicLab.Persistence plugin (#922)

File:
1 edited

Legend:

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

    r4132 r4806  
    8080      }
    8181    }
     82
     83    [StorableConstructor]
     84    private CompactNumberArray2StringSerializer(bool deserializing) { }
     85    public CompactNumberArray2StringSerializer() { }
    8286
    8387    public const int SPLIT_THRESHOLD = 1024 * 1024;
     
    183187        }
    184188        return a;
    185       } catch (InvalidOperationException e) {
     189      }
     190      catch (InvalidOperationException e) {
    186191        throw new PersistenceException("Insuffictient data to deserialize compact array", e);
    187       } catch (InvalidCastException e) {
     192      }
     193      catch (InvalidCastException e) {
    188194        throw new PersistenceException("Invalid element data during compact array deserialization", e);
    189195      }
Note: See TracChangeset for help on using the changeset viewer.