public class FVTUnexpectedCondition extends Exception
| Constructor and Description |
|---|
FVTUnexpectedCondition(String testCaseName,
String activityDescription)
Constructor when an expected exception does not occur.
|
FVTUnexpectedCondition(String testCaseName,
String activityDescription,
Throwable caughtException)
Constructor for an unexpected exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActivityDescription()
Retrieve the name of the activity that failed.
|
Throwable |
getCaughtException()
Retrieve any unexpected exception.
|
String |
getTestCaseName()
Retrieve the name of the test case that failed.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic FVTUnexpectedCondition(String testCaseName, String activityDescription, Throwable caughtException)
testCaseName - test caseactivityDescription - what was the action?caughtException - unexpected exceptionpublic String getTestCaseName()
public String getActivityDescription()
public Throwable getCaughtException()
Copyright © 2018–2020 ODPi. All rights reserved.