예제 #1
0
 public void HandleTxException(LoomException exception)
 {
     for (int i = 0; i < this.Handlers.Length; i++)
     {
         this.Handlers[i].HandleTxException(exception);
     }
 }
예제 #2
0
 public void HandleTxException(LoomException e)
 {
     if (e is InvalidTxNonceException || e is TxAlreadyExistsInCacheException)
     {
         this.NextNonce = null;
         this.Client.Logger.Log($"[NonceLog] Got {e.GetType().Name}, will retrieve nonce from node next time");
     }
     else if (e is TxCommitException)
     {
         this.Client.Logger.Log($"[NonceLog] Got {e.GetType().Name} ({e.Message}), so next nonce is still {this.NextNonce}");
     }
 }
예제 #3
0
 public void HandleTxException(LoomException e)
 {
 }