Package org.testng
Class ConfigurationNotInvokedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.testng.TestNGException
-
- org.testng.ConfigurationNotInvokedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigurationNotInvokedException extends TestNGException
Represents an exception that is thrown when a configuration method is not invoked. One of the use-cases when this can happen is when the user does the following:- User defines a configuration method
- The class that houses the configuration method defines support for callbacks via
IConfigurable
implementation - User willfully skips invoking the callback and also fails at altering the configuration
method's status via
ITestResult.setStatus(int)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationNotInvokedException(ITestNGMethod tm)
-
-
-
Constructor Detail
-
ConfigurationNotInvokedException
public ConfigurationNotInvokedException(ITestNGMethod tm)
-
-