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

net.corda.core.contracts

## Class TransactionVerificationException.DuplicateAttachmentsRejection

- Enclosing class:
    TransactionVerificationException

      public static class TransactionVerificationException.DuplicateAttachmentsRejection

  Indicates that the same attachment has been added multiple times to a transaction.

- - ### Constructor Detail

    - #### DuplicateAttachmentsRejection

          public DuplicateAttachmentsRejection(@NotNull
                                               SecureHash txId,
                                               @NotNull
                                               Attachment attachmentId)

      Indicates that the same attachment has been added multiple times to a transaction.

  - ### Method Detail

    - #### getAttachmentId

          @NotNull
          public Attachment getAttachmentId()