Exemple #1
0
 /// <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;
 }
 /// <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;
 }