Exception Code Template For CodeRush
How CodeRush could miss this template? Anyway you can copy and paste this in CodeRush Options (Expert mode) to have your own!
[System.Serializable]
public class InvalidDataException
{
public InvalidDataException()
{
}
public InvalidDataException(string message) : base( message )
{
}
public InvalidDataException (string message, System.Exception inner): base( message, inner )
{
}
public InvalidDataException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
}