commit | f13b3df62ff0f0db9de719b9b2c70cb9d572d4ea | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Jul 25 12:13:22 2016 -0700 |
committer | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Jul 25 12:13:22 2016 -0700 |
tree | 43f2f3db3e1b22d48c08cc722c81e041084a9a0e | |
parent | 3e29f6619360616e0ae3f33213efde56bb51dcd3 [diff] [blame] |
Fixing ConsistentMapException type. Change-Id: I0f0fbf62a7a38e588a222bc2144f7c36cacd2dc6
diff --git a/core/api/src/main/java/org/onosproject/store/primitives/DefaultConsistentTreeMap.java b/core/api/src/main/java/org/onosproject/store/primitives/DefaultConsistentTreeMap.java index 46c458b..e858fc0 100644 --- a/core/api/src/main/java/org/onosproject/store/primitives/DefaultConsistentTreeMap.java +++ b/core/api/src/main/java/org/onosproject/store/primitives/DefaultConsistentTreeMap.java
@@ -61,10 +61,10 @@ Thread.currentThread().interrupt(); throw new ConsistentMapException.Interrupted(); } catch (ExecutionException e) { - throw new ConsistentMapException.Timeout(); - } catch (TimeoutException e) { Throwables.propagateIfPossible(e.getCause()); throw new ConsistentMapException(e.getCause()); + } catch (TimeoutException e) { + throw new ConsistentMapException.Timeout(); } }