|
From: <fli...@us...> - 2008-08-25 20:39:31
|
Revision: 147
http://structuremap.svn.sourceforge.net/structuremap/?rev=147&view=rev
Author: flimflan
Date: 2008-08-25 20:39:23 +0000 (Mon, 25 Aug 2008)
Log Message:
-----------
Added serialization constructors for exceptions.
Modified Paths:
--------------
trunk/Source/StructureMap/Exceptions/InstancePropertyValueException.cs
trunk/Source/StructureMap/Exceptions/StructureMapConfigurationException.cs
Modified: trunk/Source/StructureMap/Exceptions/InstancePropertyValueException.cs
===================================================================
--- trunk/Source/StructureMap/Exceptions/InstancePropertyValueException.cs 2008-08-25 20:12:32 UTC (rev 146)
+++ trunk/Source/StructureMap/Exceptions/InstancePropertyValueException.cs 2008-08-25 20:39:23 UTC (rev 147)
@@ -1,4 +1,5 @@
using System;
+using System.Runtime.Serialization;
namespace StructureMap.Exceptions
{
@@ -13,5 +14,10 @@
: base(msg, ex)
{
}
+
+ protected InstancePropertyValueException(SerializationInfo info, StreamingContext context) :
+ base(info, context)
+ {
+ }
}
}
\ No newline at end of file
Modified: trunk/Source/StructureMap/Exceptions/StructureMapConfigurationException.cs
===================================================================
--- trunk/Source/StructureMap/Exceptions/StructureMapConfigurationException.cs 2008-08-25 20:12:32 UTC (rev 146)
+++ trunk/Source/StructureMap/Exceptions/StructureMapConfigurationException.cs 2008-08-25 20:39:23 UTC (rev 147)
@@ -1,4 +1,5 @@
using System;
+using System.Runtime.Serialization;
namespace StructureMap.Exceptions
{
@@ -8,5 +9,11 @@
public StructureMapConfigurationException(string message) : base(message)
{
}
+
+
+ protected StructureMapConfigurationException(SerializationInfo info, StreamingContext context) :
+ base(info, context)
+ {
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|