IllegalFlowLogicException
Keywords: net.corda.core.flows.IllegalFlowLogicException class
Date: 2023-09-18

net.corda.core.flows

## Class IllegalFlowLogicException

-     public class IllegalFlowLogicException

  Thrown if the structure of a class implementing a flow is not correct. There can be several causes for this such as not inheriting from `class FlowLogic`, not having a valid constructor and so on.

  See Also:
    `class FlowLogic`

- - ### Constructor Detail

    - #### IllegalFlowLogicException

          public IllegalFlowLogicException(@NotNull
                                           java.lang.String type,
                                           @NotNull
                                           java.lang.String msg)

      Thrown if the structure of a class implementing a flow is not correct. There can be several causes for this such as not inheriting from `class FlowLogic`, not having a valid constructor and so on.

      Parameters:
        `type` - the fully qualified name of the class that failed checks.
      See Also:
        `class FlowLogic`

    - #### IllegalFlowLogicException

          public IllegalFlowLogicException(@NotNull
                                           java.lang.Class<?> type,
                                           @NotNull
                                           java.lang.String msg)

  - ### Method Detail

    - #### getType

          @NotNull
          public java.lang.String getType()

      the fully qualified name of the class that failed checks.