package org.opendaylight.mdsal.binding.dom.adapter;
import com.google.common.base.Preconditions;
-import com.google.common.base.Throwables;
import com.google.common.util.concurrent.CheckedFuture;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.concurrent.ExecutionException;
return get();
} catch (InterruptedException | ExecutionException e) {
// FIXME: Add exception mapping
- throw Throwables.propagate(e);
+ throw new RuntimeException(e);
}
}
return get(timeout, unit);
} catch (InterruptedException | ExecutionException e) {
// FIXME: Add exception mapping
- throw Throwables.propagate(e);
+ throw new RuntimeException(e);
}
}