TckInternalError.java :  » 6.0-JDK-Modules » Java-Advanced-Imaging » test » tck » Java Open Source

Java Open Source » 6.0 JDK Modules » Java Advanced Imaging 
Java Advanced Imaging » test » tck » TckInternalError.java
package test.tck;

/**
 * This class serves to wrap exceptions that were thrown during the testing
 * and that were not provoked by the tested implementaion.
 *
 * @author Emil Ivov
 *         Network Research Team, Louis Pasteur University, Strasbourg, France
 *  This code is in the public domain.
 * @version 1.0
 */

public class TckInternalError extends Error
{

    public TckInternalError(String message)
    {
        super(message);
  TestHarness.abortOnFail = true;
    }

    public TckInternalError(String message, Throwable cause)
    {
        super(message, cause);
  TestHarness.abortOnFail = true;
    }

    public TckInternalError(Throwable cause)
    {
        super(cause);
  TestHarness.abortOnFail = true;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.