Created
June 24, 2011 18:04
-
-
Save jrwren/1045322 to your computer and use it in GitHub Desktop.
You are stupid exception.
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
/// <summary> | |
/// The exception that is thrown when you are stupid. | |
/// </summary> | |
[Serializable] | |
public class YouAreStupidException : Exception | |
{ | |
// constructors... | |
#region YouAreStupidException() | |
/// <summary> | |
/// Constructs a new YouAreStupidException. | |
/// </summary> | |
public YouAreStupidException() { } | |
#endregion | |
#region YouAreStupidException(string message) | |
/// <summary> | |
/// Constructs a new YouAreStupidException. | |
/// </summary> | |
/// <param name="message">The exception message</param> | |
public YouAreStupidException(string message) : base(message) { } | |
#endregion | |
#region YouAreStupidException(string message, Exception innerException) | |
/// <summary> | |
/// Constructs a new YouAreStupidException. | |
/// </summary> | |
/// <param name="message">The exception message</param> | |
/// <param name="innerException">The inner exception</param> | |
public YouAreStupidException(string message, Exception innerException) : base(message, innerException) { } | |
#endregion | |
#region YouAreStupidException(SerializationInfo info, StreamingContext context) | |
/// <summary> | |
/// Serialization constructor. | |
/// </summary> | |
protected YouAreStupidException(SerializationInfo info, StreamingContext context) : base(info, context) { } | |
#endregion | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment