ComponentVisibilityException
Keywords: net.corda.core.transactions.ComponentVisibilityException class
Date: 2023-09-18

net.corda.core.transactions

## Class ComponentVisibilityException

-     public class ComponentVisibilityException

  Thrown when checking for visibility of all-components in a group in `FilteredTransaction.checkAllComponentsVisible`.

  See Also:
    `FilteredTransaction.checkAllComponentsVisible`

- - ### Constructor Detail

    - #### ComponentVisibilityException

          public ComponentVisibilityException(@NotNull
                                              SecureHash id,
                                              @NotNull
                                              java.lang.String reason)

      Thrown when checking for visibility of all-components in a group in `FilteredTransaction.checkAllComponentsVisible`.

      Parameters:
        `id` - transaction's id.
        `reason` - information about the exception.
      See Also:
        `FilteredTransaction.checkAllComponentsVisible`

  - ### Method Detail

    - #### getId

          @NotNull
          public SecureHash getId()

      transaction

      's id.

    - #### getReason

          @NotNull
          public java.lang.String getReason()

      information about the exception.