Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SanteDB.DisconnectedClient.Exceptions.TokenSecurityException"/> class.
 /// </summary>
 /// <param name="type">Type.</param>
 /// <param name="detail">Detail.</param>
 public SecurityTokenException(SecurityTokenExceptionType type, string detail) : base($"{type} - {detail}")
 {
     this.Type   = type;
     this.Detail = detail;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OpenIZ.Mobile.Core.Xamarin.Exceptions.TokenSecurityException"/> class.
 /// </summary>
 /// <param name="type">Type.</param>
 /// <param name="detail">Detail.</param>
 public SecurityTokenException(SecurityTokenExceptionType type, String detail) : base(type.ToString())
 {
     this.Type   = type;
     this.Detail = detail;
 }