/// <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; }
/// <summary> /// Constructor /// </summary> /// <param name="code">Codigo de la Excepción</param> public AuthenticationException(AuthenticationExceptionCode code) : this(code, null) { }