/// <summary>The default constructor for EncodingException.</summary> /// <remarks>The default constructor for EncodingException.</remarks> /// <param name="message"></param> public EncodingException(EncodingException.MSG key) { if (key == null) { throw new ArgumentException("Cannot build Exception without a message"); } this.key = key; }