Class FailProcessing
java.lang.Object
com.qaitsolutions.pframe.core.assertion.FailProcessing
Entity takes data from assertion and process it.
- Since:
- 1.0
- Author:
- Iulian Andrei (iulian.andrei@qaitsolutions.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
process
(String message, ErrorTracker tracker, Throwable e) Takes data from the assertion and either throws the proper error or adds it tracker.
-
Constructor Details
-
FailProcessing
public FailProcessing()
-
-
Method Details
-
process
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
- ThrowsAssertionError
if tracker is not present. If tracker is present error is added to tracker.
-