01: package org.testng;
02:
03: /**
04: * The base class for all exceptions thrown by TestNG.
05: *
06: * @author <a href="mailto:cedric@beust.com">Cedric Beust</a>
07: */
08: public class TestNGException extends RuntimeException {
09:
10: /* generated */
11: private static final long serialVersionUID = -422675971506425913L;
12:
13: public TestNGException(Throwable t) {
14: super (t);
15: }
16:
17: /**
18: * @param string
19: */
20: public TestNGException(String string) {
21: super ("\n" + string);
22: }
23:
24: public TestNGException(String string, Throwable t) {
25: super ("\n" + string, t);
26: }
27: }
|