diff options
author | fcolin | 2008-08-22 16:44:01 +0000 |
---|---|---|
committer | fcolin | 2008-08-22 16:44:01 +0000 |
commit | 8d10e8bbd1e19adc7c70e1101dbb69c213c910dd (patch) | |
tree | f41034ab66b1b3174277b07c8aa45791dadbaae8 /Ivy/IvyException.cs | |
parent | 7053d3d604920ab708076e107be4b55666c5af80 (diff) | |
download | ivy-csharp-8d10e8bbd1e19adc7c70e1101dbb69c213c910dd.zip ivy-csharp-8d10e8bbd1e19adc7c70e1101dbb69c213c910dd.tar.gz ivy-csharp-8d10e8bbd1e19adc7c70e1101dbb69c213c910dd.tar.bz2 ivy-csharp-8d10e8bbd1e19adc7c70e1101dbb69c213c910dd.tar.xz |
optimisation for parsing same regular expression from multiple client
using fxCop for code beauty
fix bug on concurrent connect
Diffstat (limited to 'Ivy/IvyException.cs')
-rw-r--r-- | Ivy/IvyException.cs | 26 |
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)
{
}
}
|