I'm really confused with this exception handling. So I'm trying to understand this stuff piece by piece. I have to create an exception class with a constructor whose receives a string which consists of an candy flavor and number of bars. This is what I have :
public class CandyBarException : ApplicationException
private static string msg =
public CandybarException (string flavor, int bar) : base (msg)
Can one exception Have more than on message.