-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improving error for failed deserialize
- Loading branch information
1 parent
7c90eaa
commit 2e1601b
Showing
7 changed files
with
34 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Mirage | ||
{ | ||
|
||
[Serializable] | ||
public class DeserializeFailedException : Exception | ||
{ | ||
public DeserializeFailedException() | ||
{ | ||
} | ||
|
||
public DeserializeFailedException(string message) : base(message) | ||
{ | ||
} | ||
|
||
public DeserializeFailedException(string message, Exception innerException) : base(message, innerException) | ||
{ | ||
} | ||
protected DeserializeFailedException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
} | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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