001package com.ganteater.ae;
002
003public class TaskThread extends Thread {
004
005        private RecipeRunner place;
006        private String testFile;
007
008        public TaskThread(RecipeRunner place, String testFile) {
009                this.place = place;
010                this.testFile = testFile;
011        }
012
013        public void run() {
014                try {
015                        place.makeRecipe(testFile);
016                } catch (Throwable e) {
017                        place.getLogger().error("Task faled.", e);
018                }
019        }
020}