Created
January 29, 2015 23:02
-
-
Save JayBazuzi/cab0b9d0d41cc49024ab to your computer and use it in GitHub Desktop.
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
class FooOutOfRangeException : Exception | |
{ | |
public readonly string Foo; | |
public FooOutOfRangeException(string foo) | |
{ | |
Foo = foo; | |
} | |
public override string Message | |
{ | |
get { return string.Format("The foo was out of range ({0})", Foo); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment