WIP: Consistent map implementation.
Change-Id: I51b2d954b7a8ff2c51c425d9a8125937d4eaa6b0
Change-Id: Ib27799d4eb60fc4bfaa8d2f21a904365ff5437eb
Change-Id: I95c937600ceb8f282a482280217671c471f40b9c
diff --git a/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/ConsistentMapException.java b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/ConsistentMapException.java
new file mode 100644
index 0000000..d98e5a3
--- /dev/null
+++ b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/ConsistentMapException.java
@@ -0,0 +1,26 @@
+package org.onosproject.store.consistent.impl;
+
+/**
+ * Top level exception for ConsistentMap failures.
+ */
+@SuppressWarnings("serial")
+public class ConsistentMapException extends RuntimeException {
+ public ConsistentMapException() {
+ }
+
+ public ConsistentMapException(Throwable t) {
+ super(t);
+ }
+
+ /**
+ * ConsistentMap operation timeout.
+ */
+ public static class Timeout extends ConsistentMapException {
+ }
+
+ /**
+ * ConsistentMap operation interrupted.
+ */
+ public static class Interrupted extends ConsistentMapException {
+ }
+}