package test; /** Indicates that a serious testing library error has occurred, such as failure to construct a test object, or failure to clean up system resources.

The testing library does not run any more tests after a fatal error has occurred. Ordinarily, if a regular TestFailed exception occurs, the testing library will still run additional tests that do not depend on the test that failed. */ class FatalError extends TestFailed { /** Constructs a FatalError object from an error message. */ FatalError(String message) { super(message); } /** Constructs a FatalError object from an error message and a cause. */ FatalError(String message, Throwable cause) { super(message, cause); } }