Created
February 13, 2013 14:41
-
-
Save sanmadjack/4945026 to your computer and use it in GitHub Desktop.
A C# WTF Exception. Is for exceptions that should never, ever happen. And then they do.
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; | |
namespace Exceptions { | |
public class WTFException : Exception { | |
public WTFException(Exception ex) : base(null, ex) { } | |
public WTFException(string message, Exception ex) : base(message, ex) { } | |
public WTFException(string message) : base(message) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment