3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.httpinvoker
;
17 public abstract class TestThread
extends Thread
{
19 boolean isBlocked
= false;
25 public TestThread(boolean blocking
) {
29 * @return the throwable
31 public Throwable
getThrowable() {
36 * @param throwable the throwable to set
38 public void setThrowable(Throwable throwable
) {
39 this.throwable
= throwable
;
42 public void unblock() {
47 public final void run() {
51 } catch(Exception ex
) {
53 } catch(AssertionError ae
) {
58 public abstract void doRun() throws Exception
, AssertionError
;