Last active
May 7, 2016 10:16
-
-
Save Finglas/b7341379033d951aa88d2b7ed28aaba5 to your computer and use it in GitHub Desktop.
Custom Exception C#
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
public class BlogPostNotFoundException : Exception | |
{ | |
public BlogPostNotFoundException(string message) | |
: base(message) | |
{ | |
} | |
// Note some suggested overloads have been omitted. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment