Package org.testng.internal.invokers
Class ExpectedExceptionsHolder
java.lang.Object
org.testng.internal.invokers.ExpectedExceptionsHolder
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ExpectedExceptionsHolder
(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
noException
(ITestNGMethod testMethod) wrongException
(Throwable ite)
-
Field Details
-
finder
-
method
-
-
Constructor Details
-
ExpectedExceptionsHolder
protected ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder)
-
-
Method Details
-
isExpectedException
- Parameters:
ite
- The exception that was just thrown- Returns:
- true if the exception that was just thrown is part of the expected exceptions
-
wrongException
-
noException
-