Class Catch

All Implemented Interfaces:
org.citrusframework.common.Described, org.citrusframework.common.Named, org.citrusframework.Completable, org.citrusframework.container.TestActionContainer, org.citrusframework.TestAction, org.citrusframework.TestActorAware

public class Catch extends AbstractActionContainer
Action catches possible exceptions in nested test actions.
  • Constructor Details

    • Catch

      public Catch(Catch.Builder builder)
      Default constructor.
  • Method Details

    • doExecute

      public void doExecute(org.citrusframework.context.TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getException

      public String getException()
      Gets the exception.
      Returns:
      the exception