org.testng
Class TestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.testng.TestNGException
                  extended by org.testng.TestException
All Implemented Interfaces:
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(String s)
           
TestException(String message, Throwable t)
           
TestException(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(String s)

TestException

public TestException(Throwable t)

TestException

public TestException(String message,
                     Throwable t)


Copyright © 2012. All Rights Reserved.