Created
July 25, 2013 19:45
-
-
Save Restuta/6083090 to your computer and use it in GitHub Desktop.
R# custom exception file template
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
using System; | |
using System.Runtime.Serialization; | |
using SaaS.Exceptions; | |
namespace $NAMESPACE$ | |
{ | |
/// <summary> | |
/// Thrown when $Reason$. | |
/// </summary> | |
[Serializable] | |
public sealed class $ExceptionName$ : ExceptionBase | |
{ | |
public $ExceptionName$(){} | |
public $ExceptionName$(string message) : base(message){ } | |
public $ExceptionName$(string message, Exception inner) : base(message, inner) { } | |
private $ExceptionName$(SerializationInfo info, StreamingContext context) : base(info, context) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment