This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-4377
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-4377 by this 
push:
     new 8989ab5  GEODE-4377: Don't catch encoding exceptions in 
OperationHandlers
8989ab5 is described below

commit 8989ab58ee21c8095449764eac4589adb6624b5a
Author: Bruce Schuchardt <bschucha...@pivotal.io>
AuthorDate: Mon Feb 12 16:09:03 2018 -0800

    GEODE-4377: Don't catch encoding exceptions in OperationHandlers
    
    Adding missing file: DecodingException.java
---
 .../serialization/exception/DecodingException.java | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git 
a/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/serialization/exception/DecodingException.java
 
b/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/serialization/exception/DecodingException.java
new file mode 100644
index 0000000..93cedff
--- /dev/null
+++ 
b/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/serialization/exception/DecodingException.java
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license
+ * agreements. See the NOTICE file distributed with this work for additional 
information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache 
License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the 
License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software 
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express
+ * or implied. See the License for the specific language governing permissions 
and limitations under
+ * the License.
+ */
+package org.apache.geode.internal.protocol.protobuf.v1.serialization.exception;
+
+import org.apache.geode.annotations.Experimental;
+
+/**
+ * This indicates an encoding type that we don't know how to handle.
+ */
+@Experimental
+public class DecodingException extends Exception {
+  public DecodingException(String message) {
+    super(message);
+  }
+
+  public DecodingException(String message, Throwable cause) {
+    super(message, cause);
+  }
+}

-- 
To stop receiving notification emails like this one, please contact
bschucha...@apache.org.

Reply via email to