You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/04/20 16:22:26 UTC
[flink] 03/11: [hotfix] Add RpcRuntimeException
This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 03b5115f8d35514904c40ac1bcffb40a4b4f3728
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Wed Apr 8 12:15:17 2020 +0200
[hotfix] Add RpcRuntimeException
---
.../rpc/exceptions/RpcRuntimeException.java | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/exceptions/RpcRuntimeException.java b/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/exceptions/RpcRuntimeException.java
new file mode 100644
index 0000000..666e83f
--- /dev/null
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/rpc/exceptions/RpcRuntimeException.java
@@ -0,0 +1,37 @@
+/*
+ * 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.flink.runtime.rpc.exceptions;
+
+/**
+ * Base class for RPC related runtime exceptions.
+ */
+public class RpcRuntimeException extends RuntimeException {
+
+ public RpcRuntimeException(String message) {
+ super(message);
+ }
+
+ public RpcRuntimeException(Throwable cause) {
+ super(cause);
+ }
+
+ public RpcRuntimeException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}