01: package test.tck;
02:
03: /**
04: * This class serves to wrap exceptions that were thrown during the testing
05: * and that were not provoked by the tested implementaion.
06: *
07: * @author Emil Ivov
08: * Network Research Team, Louis Pasteur University, Strasbourg, France
09: * This code is in the public domain.
10: * @version 1.0
11: */
12:
13: public class TckInternalError extends Error {
14:
15: public TckInternalError(String message) {
16: super (message);
17: TestHarness.abortOnFail = true;
18: }
19:
20: public TckInternalError(String message, Throwable cause) {
21: super (message, cause);
22: TestHarness.abortOnFail = true;
23: }
24:
25: public TckInternalError(Throwable cause) {
26: super (cause);
27: TestHarness.abortOnFail = true;
28: }
29: }
|