summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Messaging/ResourceAllocationException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Qpid.Messaging/ResourceAllocationException.cs')
-rw-r--r--dotnet/Qpid.Messaging/ResourceAllocationException.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/dotnet/Qpid.Messaging/ResourceAllocationException.cs b/dotnet/Qpid.Messaging/ResourceAllocationException.cs
index 076e374d60..a208b3cbbb 100644
--- a/dotnet/Qpid.Messaging/ResourceAllocationException.cs
+++ b/dotnet/Qpid.Messaging/ResourceAllocationException.cs
@@ -18,12 +18,22 @@
* under the License.
*
*/
+
+using System;
+using System.Runtime.Serialization;
+
namespace Qpid.Messaging
{
+ [Serializable]
public class ResourceAllocationException : QpidException
{
public ResourceAllocationException(string reason) : base(reason)
{
}
+
+ protected ResourceAllocationException(SerializationInfo info, StreamingContext ctxt)
+ : base(info, ctxt)
+ {
+ }
}
}