// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package org.jdeferred.impl; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; public class FutureCallable implements Callable { private final Future future; public FutureCallable(Future future1) { future = future1; } public Object call() throws Exception { Object obj; try { obj = future.get(); } catch (InterruptedException interruptedexception) { throw interruptedexception; } catch (ExecutionException executionexception) { if (executionexception.getCause() instanceof Exception) { throw (Exception)executionexception.getCause(); } else { throw executionexception; } } return obj; } }