// Public API Exposed to org.xwt /////////////////////////////////////////////////
private static Scheduler singleton;
- public static abstract class Task { public abstract void perform(); }
+ public static abstract class Task { public abstract void perform() throws Exception; }
public static void add(Task t) { singleton.runnable.append(t); }
public static void init() {
if (singleton != null) return;