Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="code">Codigo de la excepcion</param>
 /// <param name="innerException">Excepcion interna</param>
 public AuthenticationException(AuthenticationExceptionCode code, Exception innerException) : base(code.ToString(), innerException)
 {
     Code = code;
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="code">Codigo de la Excepción</param>
 public AuthenticationException(AuthenticationExceptionCode code) : this(code, null)
 {
 }