public class EAepExpectationNotMetException extends EAepException
Constructor and Description |
---|
EAepExpectationNotMetException(Enum<?> expectationType,
Enum<?> expectationValue,
Object expectationData,
String str)
Construct using the expectation that was not met and a descriptive string.
|
Modifier and Type | Method and Description |
---|---|
Object |
getUnmetExpectationData()
Get additional expectation specific data
|
Enum<?> |
getUnmetExpectationType()
Get the type of the expectation that was not met
|
Enum<?> |
getUnmetExpectationValue()
Get the value of the expectation that was not met
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EAepExpectationNotMetException(Enum<?> expectationType, Enum<?> expectationValue, Object expectationData, String str)
expectationType
- The type of expectation not met.expectationValue
- The value of expectation not met.str
- A string describing the exception (returned by getMessage()).public final Enum<?> getUnmetExpectationType()
public final Enum<?> getUnmetExpectationValue()
public final Object getUnmetExpectationData()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.