org.testng
Class TestNGException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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)


Copyright © 2011. All Rights Reserved.