GEODE-289: Removed depcreated LicenseException class This closes #471 Signed-off-by: adongre <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/4b85604f Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/4b85604f Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/4b85604f Branch: refs/heads/feature/GEM-1299 Commit: 4b85604f72e9473ae1152f2358dffbcdcb98aa8e Parents: aa74d3d Author: adongre <[email protected]> Authored: Wed Apr 19 14:21:59 2017 +0530 Committer: zhouxh <[email protected]> Committed: Wed Apr 26 23:28:49 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/geode/LicenseException.java | 49 -------------------- 1 file changed, 49 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/4b85604f/geode-core/src/main/java/org/apache/geode/LicenseException.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/org/apache/geode/LicenseException.java b/geode-core/src/main/java/org/apache/geode/LicenseException.java deleted file mode 100644 index c98d367..0000000 --- a/geode-core/src/main/java/org/apache/geode/LicenseException.java +++ /dev/null @@ -1,49 +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.geode; - -/** - * A <code>LicenseException</code> is thrown when the license check fails. - * - * @deprecated Licensing is not supported as of 8.0. - */ -@Deprecated -public class LicenseException extends GemFireException { - private static final long serialVersionUID = -1178557127300465801L; - - ////////////////////// Constructors ////////////////////// - - /** - * Creates a new <code>LicenseException</code>. - */ - public LicenseException(String message) { - super(message); - } - - /** - * Creates a new <code>LicenseException</code> that was caused by a given exception - */ - public LicenseException(String message, Throwable thr) { - super(message, thr); - } - - /** - * Creates a new <code>LicenseException</code> that was caused by a given exception - */ - public LicenseException(Throwable thr) { - super(thr.getMessage(), thr); - } -}
