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

net.corda.core.contracts

## Class BrokenAttachmentException

-     public class BrokenAttachmentException

  A non-specific exception for the attachment identified by attachmentId. The context for this error is provided via the message and cause.

- - ### Constructor Detail

    - #### BrokenAttachmentException

          public BrokenAttachmentException(@NotNull
                                           SecureHash attachmentId,
                                           @Nullable
                                           java.lang.String message,
                                           @Nullable
                                           java.lang.Throwable cause)

      A non-specific exception for the attachment identified by attachmentId. The context for this error is provided via the message and cause.

      Parameters:
        `attachmentId` -

  - ### Method Detail

    - #### getAttachmentId

          @NotNull
          public SecureHash getAttachmentId()