summaryrefslogtreecommitdiff
path: root/Ivy/IvyException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/IvyException.cs')
-rw-r--r--Ivy/IvyException.cs26
1 files changed, 21 insertions, 5 deletions
diff --git a/Ivy/IvyException.cs b/Ivy/IvyException.cs
index 90a91b8..2bdf066 100644
--- a/Ivy/IvyException.cs
+++ b/Ivy/IvyException.cs
@@ -5,14 +5,30 @@
/// *
namespace IvyBus
{
- using System;
-
+ using System;
+ using System.Runtime.Serialization;
+
/// <summary> signals that an unrecoverrable Ivy exception has occured.
/// </summary>
-
- public class IvyException:System.Exception
+ [Serializable]
+ public class IvyException : System.Exception
{
- public IvyException(System.String s):base(s)
+ public IvyException()
+ : base()
+ {
+ }
+
+ protected IvyException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {
+ }
+
+ public IvyException(string message, Exception exp)
+ : base(message,exp)
+ {
+ }
+
+ public IvyException(string message) : base(message)
{
}
}