Madan Jampani | 393e0f0 | 2015-02-12 07:35:39 +0530 | [diff] [blame] | 1 | package org.onosproject.store.service; |
Madan Jampani | 0934270 | 2015-02-05 23:32:40 -0800 | [diff] [blame] | 2 | |
| 3 | /** |
| 4 | * Top level exception for ConsistentMap failures. |
| 5 | */ |
| 6 | @SuppressWarnings("serial") |
| 7 | public class ConsistentMapException extends RuntimeException { |
| 8 | public ConsistentMapException() { |
| 9 | } |
| 10 | |
| 11 | public ConsistentMapException(Throwable t) { |
| 12 | super(t); |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * ConsistentMap operation timeout. |
| 17 | */ |
| 18 | public static class Timeout extends ConsistentMapException { |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * ConsistentMap operation interrupted. |
| 23 | */ |
| 24 | public static class Interrupted extends ConsistentMapException { |
| 25 | } |
| 26 | } |