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