Class FailProcessing

java.lang.Object
com.qaitsolutions.pframe.core.assertion.FailProcessing

public final class FailProcessing extends Object
Entity takes data from assertion and process it.

Since:
1.0
Author:
Iulian Andrei (iulian.andrei@qaitsolutions.com)
  • Constructor Details

    • FailProcessing

      public FailProcessing()
  • Method Details

    • process

      public static void process(String message, ErrorTracker tracker, Throwable e)
      Takes data from the assertion and either throws the proper error or adds it tracker.

      Parameters:
      message - Description of the assertion.
      tracker - Entity used to track errors.
      e - Exception thrown in failed assertion.
      Throws:
      AssertionError - Throws AssertionError if tracker is not present. If tracker is present error is added to tracker.