Exemple #1
0
        public Nack(XidMessage inReplyTo, int error, String message, params Object[] args)
            : base(inReplyTo)
        {
            if (message == null)
                throw new ArgumentNullException("Message cannot be null");

            this.error = (NackError)error;
            this.message = message;
            this.args = args;
        }
Exemple #2
0
 public SubRply(XidMessage inReplyTo, long subscriptionId)
     : base(inReplyTo)
 {
     this.SubscriptionId = subscriptionId;
 }
 public RouterNackException(XidMessage request, Nack nack)
     : base("Router rejected " + request.Name + ": " + nack.ErrorCodeText + ": " + nack.FormattedMessage)
 {
 }
Exemple #4
0
 public Nack(XidMessage inReplyTo, int error, String message)
     : this(inReplyTo, error, message, EMPTY_ARGS)
 {
 }
Exemple #5
0
 public XidMessage(XidMessage inReplyTo)
     : this(inReplyTo.xid)
 {
 }