commit | b825aebe03826203ef8c014daf58a8c285efdb9c | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Fri Apr 01 15:18:25 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Apr 01 22:41:39 2016 +0000 |
tree | 85c57d38f31c9a6ab138c52e5f48282f63a76780 | |
parent | 33d81c6ba361167bc75404d269af2cb76b372e64 [diff] |
Reply with error status on receiving message with incorrect preamble Change-Id: I0d17dc74c817546f221fbcade1d5642c8f29b0fe
diff --git a/core/api/src/main/java/org/onosproject/store/cluster/messaging/MessagingException.java b/core/api/src/main/java/org/onosproject/store/cluster/messaging/MessagingException.java index e71ac10..e954d0f 100644 --- a/core/api/src/main/java/org/onosproject/store/cluster/messaging/MessagingException.java +++ b/core/api/src/main/java/org/onosproject/store/cluster/messaging/MessagingException.java
@@ -49,4 +49,10 @@ */ public static class RemoteHandlerFailure extends MessagingException { } + + /** + * Exception indicating failure due to invalid message strucuture such as an incorrect preamble. + */ + public static class ProcotolException extends MessagingException { + } } \ No newline at end of file