Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Class TestNGException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.testng.TestNGException

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  TestException

    public class TestNGException

extends java.lang.RuntimeException

The base class for all exceptions thrown by TestNG.

Author:
  Cedric Beust
See Also:
  Serialized Form

Constructor Summary
`TestNGException(java.lang.String string)`
`TestNGException(java.lang.String string, java.lang.Throwable t)`
`TestNGException(java.lang.Throwable t)`

Method Summary

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TestNGException

    public TestNGException(java.lang.Throwable t)

### TestNGException

    public TestNGException(java.lang.String string)

Parameters:
  `string` -

### TestNGException

    public TestNGException(java.lang.String string,
                           java.lang.Throwable t)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD