This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new 3fd3ab4 Remove org.apache.pulsar.discovery.service.PulsarServerException (#1222) 3fd3ab4 is described below commit 3fd3ab41012ee24d8e4d4baec01fd8a40389ef0a Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Mon Feb 12 02:11:19 2018 +0900 Remove org.apache.pulsar.discovery.service.PulsarServerException (#1222) No defference from org.apache.pulsar.broker.PulsarServerException --- .../discovery/service/BrokerDiscoveryProvider.java | 1 + .../discovery/service/PulsarServerException.java | 38 ---------------------- .../pulsar/discovery/service/ServerConnection.java | 1 + 3 files changed, 2 insertions(+), 38 deletions(-) diff --git a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/BrokerDiscoveryProvider.java b/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/BrokerDiscoveryProvider.java index d568a05..63123f3 100644 --- a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/BrokerDiscoveryProvider.java +++ b/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/BrokerDiscoveryProvider.java @@ -31,6 +31,7 @@ import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.atomic.AtomicInteger; import org.apache.bookkeeper.util.OrderedSafeExecutor; +import org.apache.pulsar.broker.PulsarServerException; import org.apache.pulsar.common.naming.DestinationName; import org.apache.pulsar.common.partition.PartitionedTopicMetadata; import org.apache.pulsar.common.policies.data.PropertyAdmin; diff --git a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/PulsarServerException.java b/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/PulsarServerException.java deleted file mode 100644 index 3d900be..0000000 --- a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/PulsarServerException.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * 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.pulsar.discovery.service; - -import java.io.IOException; - -public class PulsarServerException extends IOException { - private static final long serialVersionUID = 1; - - public PulsarServerException(String message) { - super(message); - } - - public PulsarServerException(Throwable cause) { - super(cause); - } - - public PulsarServerException(String message, Throwable cause) { - super(message, cause); - } - -} diff --git a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/ServerConnection.java b/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/ServerConnection.java index f715056..4f694de 100644 --- a/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/ServerConnection.java +++ b/pulsar-discovery-service/src/main/java/org/apache/pulsar/discovery/service/ServerConnection.java @@ -26,6 +26,7 @@ import java.util.concurrent.TimeUnit; import javax.naming.AuthenticationException; import javax.net.ssl.SSLSession; +import org.apache.pulsar.broker.PulsarServerException; import org.apache.pulsar.broker.authentication.AuthenticationDataCommand; import org.apache.pulsar.common.api.Commands; import org.apache.pulsar.common.api.PulsarHandler; -- To stop receiving notification emails like this one, please contact mme...@apache.org.