issue 384: GuestAdditions installer - jclouds comments addressed

This commit is contained in:
andreaturli 2012-02-12 19:20:41 +00:00
parent 20ec953fb6
commit 40d19e0cf6
1 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ import org.virtualbox_4_1.VirtualBoxManager;
import com.google.common.base.Function; import com.google.common.base.Function;
import com.google.common.base.Predicate; import com.google.common.base.Predicate;
import com.google.common.base.Supplier; import com.google.common.base.Supplier;
import com.google.common.base.Throwables;
import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListenableFuture;
import com.google.inject.Inject; import com.google.inject.Inject;
@ -77,9 +78,9 @@ public class GuestAdditionsInstaller implements Function<String, IMachine> {
try { try {
execFuture.get(); execFuture.get();
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); Throwables.propagate(e);
} catch (ExecutionException e) { } catch (ExecutionException e) {
e.printStackTrace(); Throwables.propagate(e);
} }
return vm; return vm;
} }