Package org.testng

Class TestNGException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataProviderInvocationException, MethodMatcherException, TestException

public class TestNGException extends RuntimeException
The base class for all exceptions thrown by TestNG.
See Also:
  • Field Details

  • Constructor Details

    • TestNGException

      public TestNGException(Throwable t)
    • TestNGException

      public TestNGException(String string)
    • TestNGException

      public TestNGException(String string, Throwable t)