2 * Copyright (C) 2015 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.httpinvoker
;
16 public abstract class TestThread
extends Thread
{
18 boolean isBlocked
= false;
24 public TestThread(boolean blocking
) {
28 * @return the throwable
30 public Throwable
getThrowable() {
35 * @param throwable the throwable to set
37 public void setThrowable(Throwable throwable
) {
38 this.throwable
= throwable
;
41 public void unblock() {
46 public final void run() {
50 } catch(Exception ex
) {
52 } catch(AssertionError ae
) {
57 public abstract void doRun() throws Exception
, AssertionError
;