Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagingEntityNotFoundException"/> class.
 /// </summary>
 /// <param name="message">The string exception message.</param>
 /// <param name="innerException">The inner exception to be propagated with this exception to the caller..</param>
 public MessagingEntityNotFoundException(string message, Exception innerException)
     : base(MessagingExceptionDetail.EntityNotFound(message), innerException)
 {
     this.IsTransient = false;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagingEntityNotFoundException"/> class.
 /// </summary>
 /// <param name="entityName">Name of the entity.</param>
 public MessagingEntityNotFoundException(string entityName)
     : this(MessagingExceptionDetail.EntityNotFound(SRClient.MessagingEntityCouldNotBeFound(entityName)), null)
 {
     this.IsTransient = false;
 }