Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #587 from zidad/remove-serializable
Removed Serializable attribute from messages and exceptions
- Loading branch information
Showing
27 changed files
with
16 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,29 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace EasyNetQ | ||
{ | ||
[Serializable] | ||
public class EasyNetQException : Exception | ||
{ | ||
public EasyNetQException() {} | ||
public EasyNetQException(string message) : base(message) {} | ||
public EasyNetQException(string format, params string[] args) : base(string.Format(format, args)) {} | ||
public EasyNetQException(string message, Exception inner) : base(message, inner) {} | ||
|
||
protected EasyNetQException( | ||
SerializationInfo info, | ||
StreamingContext context) : base(info, context) {} | ||
} | ||
|
||
[Serializable] | ||
public class EasyNetQInvalidMessageTypeException : EasyNetQException | ||
{ | ||
public EasyNetQInvalidMessageTypeException() {} | ||
public EasyNetQInvalidMessageTypeException(string message) : base(message) {} | ||
public EasyNetQInvalidMessageTypeException(string format, params string[] args) : base(format, args) {} | ||
public EasyNetQInvalidMessageTypeException(string message, Exception inner) : base(message, inner) {} | ||
protected EasyNetQInvalidMessageTypeException(SerializationInfo info, StreamingContext context) : base(info, context) {} | ||
} | ||
|
||
[Serializable] | ||
public class EasyNetQResponderException : EasyNetQException | ||
{ | ||
public EasyNetQResponderException() { } | ||
public EasyNetQResponderException(string message) : base(message) { } | ||
public EasyNetQResponderException(string format, params string[] args) : base(format, args) { } | ||
public EasyNetQResponderException(string message, Exception inner) : base(message, inner) { } | ||
protected EasyNetQResponderException(SerializationInfo info, StreamingContext context) : base(info, context) { } | ||
} | ||
} |
Oops, something went wrong.