none
Custom exception RRS feed

  • Question

  • Hello,
    just a curiosity. What's the sense of this Exception customization? 

    public class WrongException : Exception
    {
        public WrongException(string message) : base(message)
        {
        }
    }

    Thank you. 

    Luis

    • Edited by Ciupaz Monday, August 27, 2018 10:31 AM
    Monday, August 27, 2018 10:30 AM

Answers

  • It kind of makes no sense, and someone did know what he or she was doing.
    • Marked as answer by Ciupaz Monday, August 27, 2018 1:11 PM
    Monday, August 27, 2018 11:40 AM

All replies