TransactionResolutionException
Keywords: net.corda.core.contracts.TransactionResolutionException class
Date: 2023-09-18

net.corda.core.contracts

## Class TransactionResolutionException

-     public class TransactionResolutionException

  The node asked a remote peer for the transaction identified by hash because it is a dependency of a transaction being resolved, but the remote peer would not provide it.

- - ### Constructor Detail

    - #### TransactionResolutionException

          @JvmOverloads
          public TransactionResolutionException(@NotNull
                                                              SecureHash hash,
                                                              @NotNull
                                                              java.lang.String message)

      The node asked a remote peer for the transaction identified by hash because it is a dependency of a transaction being resolved, but the remote peer would not provide it.

      Parameters:
        `hash` - Merkle root of the transaction being resolved, see `net.corda.core.transactions.WireTransaction.id`

    - #### TransactionResolutionException

          @JvmOverloads
          public TransactionResolutionException(@NotNull
                                                              SecureHash hash)

      The node asked a remote peer for the transaction identified by hash because it is a dependency of a transaction being resolved, but the remote peer would not provide it.

      Parameters:
        `hash` - Merkle root of the transaction being resolved, see `net.corda.core.transactions.WireTransaction.id`

  - ### Method Detail

    - #### getHash

          @NotNull
          public SecureHash getHash()

      Merkle root of the transaction being resolved,

      see `net.corda.core.transactions.WireTransaction.id`

      See Also:
        `net.corda.core.transactions.WireTransaction.id`