Yuta HIGUCHI

Fixing ConsistentMapException type.

Change-Id: I0f0fbf62a7a38e588a222bc2144f7c36cacd2dc6
...@@ -61,10 +61,10 @@ public class DefaultConsistentTreeMap<K, V> extends Synchronous<AsyncConsistentT ...@@ -61,10 +61,10 @@ public class DefaultConsistentTreeMap<K, V> extends Synchronous<AsyncConsistentT
61 Thread.currentThread().interrupt(); 61 Thread.currentThread().interrupt();
62 throw new ConsistentMapException.Interrupted(); 62 throw new ConsistentMapException.Interrupted();
63 } catch (ExecutionException e) { 63 } catch (ExecutionException e) {
64 - throw new ConsistentMapException.Timeout();
65 - } catch (TimeoutException e) {
66 Throwables.propagateIfPossible(e.getCause()); 64 Throwables.propagateIfPossible(e.getCause());
67 throw new ConsistentMapException(e.getCause()); 65 throw new ConsistentMapException(e.getCause());
66 + } catch (TimeoutException e) {
67 + throw new ConsistentMapException.Timeout();
68 } 68 }
69 } 69 }
70 70
......