This is an automated email from the ASF dual-hosted git repository. amashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push: new 5c76015 Remove deprecated exceptions 5c76015 is described below commit 5c76015ccd22e12d0482560c2e20e766d3428189 Author: Aleksandr Mashchenko <amashche...@apache.org> AuthorDate: Sun Jun 3 23:00:59 2018 +0300 Remove deprecated exceptions --- .../xwork2/InvalidMetadataException.java | 40 ------------------ .../xwork2/config/ReferenceResolverException.java | 49 ---------------------- 2 files changed, 89 deletions(-) diff --git a/core/src/main/java/com/opensymphony/xwork2/InvalidMetadataException.java b/core/src/main/java/com/opensymphony/xwork2/InvalidMetadataException.java deleted file mode 100644 index 28f921b..0000000 --- a/core/src/main/java/com/opensymphony/xwork2/InvalidMetadataException.java +++ /dev/null @@ -1,40 +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 com.opensymphony.xwork2; - -/** - * <code>InvalidMetadataException</code> - * - * @author Rainer Hermanns - * @version $Id$ - * - * @deprecated to be removed - */ -@Deprecated -public class InvalidMetadataException extends RuntimeException { - - /** - * Create a new <code>InvalidMetadataException</code> with the supplied error message. - * - * @param msg the error message - */ - public InvalidMetadataException(String msg) { - super(msg); - } -} diff --git a/core/src/main/java/com/opensymphony/xwork2/config/ReferenceResolverException.java b/core/src/main/java/com/opensymphony/xwork2/config/ReferenceResolverException.java deleted file mode 100644 index 6f06cc8..0000000 --- a/core/src/main/java/com/opensymphony/xwork2/config/ReferenceResolverException.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 com.opensymphony.xwork2.config; - -import com.opensymphony.xwork2.XWorkException; - - -/** - * Exception when a reference can't be resolved. - * - * @author Mike - * - * @deprecated to be removed - */ -@Deprecated -public class ReferenceResolverException extends XWorkException { - - public ReferenceResolverException() { - super(); - } - - public ReferenceResolverException(String s) { - super(s); - } - - public ReferenceResolverException(String s, Throwable cause) { - super(s, cause); - } - - public ReferenceResolverException(Throwable cause) { - super(cause); - } -} -- To stop receiving notification emails like this one, please contact amashche...@apache.org.