Skip to content

Commit

Permalink
Serializable exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
synhershko committed Jul 3, 2012
1 parent 9c499e8 commit a04bcc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NAppUpdate.Framework/Common/Exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace NAppUpdate.Framework
{
[Serializable]
public class NAppUpdateException : Exception
{
public NAppUpdateException() : base() { }
Expand All @@ -11,6 +12,7 @@ public NAppUpdateException(string message, Exception ex) : base(message, ex) { }
public NAppUpdateException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}

[Serializable]
public class UpdateProcessFailedException : NAppUpdateException
{
public UpdateProcessFailedException() : base() { }
Expand All @@ -19,6 +21,7 @@ public UpdateProcessFailedException(string message, Exception ex) : base(message
public UpdateProcessFailedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}

[Serializable]
public class FeedReaderException : NAppUpdateException
{
public FeedReaderException() : base() { }
Expand Down

0 comments on commit a04bcc2

Please sign in to comment.