TINKERPOP-1562 Deprecated plugin exceptions. These are needed anymore under the revised plugin model in gremlin-core.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/ce4d96cb Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/ce4d96cb Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/ce4d96cb Branch: refs/heads/TINKERPOP-1562 Commit: ce4d96cb92afa6095a1e2da8e6d0af789c5bcd46 Parents: 9d0d1ab Author: Stephen Mallette <sp...@genoprime.com> Authored: Tue Nov 29 09:21:49 2016 -0500 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Thu Dec 1 06:41:43 2016 -0500 ---------------------------------------------------------------------- .../gremlin/jsr223/GremlinPluginException.java | 41 -------------------- .../groovy/plugin/GremlinPluginException.java | 2 + .../plugin/IllegalEnvironmentException.java | 2 + .../plugin/PluginInitializationException.java | 2 + 4 files changed, 6 insertions(+), 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ce4d96cb/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinPluginException.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinPluginException.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinPluginException.java deleted file mode 100644 index ce4ab2f..0000000 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/GremlinPluginException.java +++ /dev/null @@ -1,41 +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.tinkerpop.gremlin.jsr223; - -/** - * Base exception for {@link GremlinPlugin}. - * - * @author Stephen Mallette (http://stephen.genoprime.com) - */ -public abstract class GremlinPluginException extends Exception { - public GremlinPluginException() { - } - - public GremlinPluginException(final String message) { - super(message); - } - - public GremlinPluginException(final String message, final Throwable cause) { - super(message, cause); - } - - public GremlinPluginException(final Throwable cause) { - super(cause); - } -} http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ce4d96cb/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/GremlinPluginException.java ---------------------------------------------------------------------- diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/GremlinPluginException.java b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/GremlinPluginException.java index d85c743..c8664c7 100644 --- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/GremlinPluginException.java +++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/GremlinPluginException.java @@ -22,7 +22,9 @@ package org.apache.tinkerpop.gremlin.groovy.plugin; * Base exception for {@link GremlinPlugin}. * * @author Stephen Mallette (http://stephen.genoprime.com) + * @deprecated As of release 3.2.4, not replaced. */ +@Deprecated public abstract class GremlinPluginException extends Exception { public GremlinPluginException() { } http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ce4d96cb/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/IllegalEnvironmentException.java ---------------------------------------------------------------------- diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/IllegalEnvironmentException.java b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/IllegalEnvironmentException.java index 86dbcbc..8d6fbe2 100644 --- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/IllegalEnvironmentException.java +++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/IllegalEnvironmentException.java @@ -23,7 +23,9 @@ package org.apache.tinkerpop.gremlin.groovy.plugin; * the needs of the {@link GremlinPlugin}. * * @author Stephen Mallette (http://stephen.genoprime.com) + * @deprecated As of release 3.2.4, not replaced. */ +@Deprecated public class IllegalEnvironmentException extends GremlinPluginException { public IllegalEnvironmentException(final GremlinPlugin plugin, final String... expectedKeys) { super(String.format("The %s plugin may not be compatible with this environment - requires the follow ScriptEngine environment keys [%s]", plugin.getName(), String.join(",", expectedKeys))); http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ce4d96cb/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/PluginInitializationException.java ---------------------------------------------------------------------- diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/PluginInitializationException.java b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/PluginInitializationException.java index 7d87215..0dd6fc1 100644 --- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/PluginInitializationException.java +++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/plugin/PluginInitializationException.java @@ -23,7 +23,9 @@ package org.apache.tinkerpop.gremlin.groovy.plugin; * {@code ScriptEngine}. * * @author Stephen Mallette (http://stephen.genoprime.com) + * @deprecated As of release 3.2.4, not replaced. */ +@Deprecated public class PluginInitializationException extends GremlinPluginException { public PluginInitializationException(final String message) { super(message);