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

net.corda.core.contracts

## Class TransactionVerificationException.MissingAttachmentRejection

- Enclosing class:
    TransactionVerificationException

      public static class TransactionVerificationException.MissingAttachmentRejection

  A state requested a contract class via its TransactionState.contract field that didn't appear in any attached JAR at all. This usually implies the attachments were forgotten or a version mismatch.

- - ### Constructor Detail

    - #### MissingAttachmentRejection

          public MissingAttachmentRejection(@NotNull
                                            SecureHash txId,
                                            @NotNull
                                            java.lang.String contractClass)

      A state requested a contract class via its TransactionState.contract field that didn't appear in any attached JAR at all. This usually implies the attachments were forgotten or a version mismatch.

      Parameters:
        `contractClass` - The fully qualified class name of the failing contract.

  - ### Method Detail

    - #### getContractClass

          @NotNull
          public java.lang.String getContractClass()

      The fully qualified class name of the failing contract.