TestException (TestNG)

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 TestException

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

All Implemented Interfaces:
  java.io.Serializable

    public class TestException

extends TestNGException

Exception thrown when an exception happens while running a test method.

Author:
  Cedric Beust, Apr 26, 2004
See Also:
  Serialized Form

Constructor Summary
`TestException(java.lang.String s)`
`TestException(java.lang.String message, java.lang.Throwable t)`
`TestException(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

### TestException

    public TestException(java.lang.String s)

### TestException

    public TestException(java.lang.Throwable t)

### TestException

    public TestException(java.lang.String message,
                         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