Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3443F200C84 for ; Sun, 14 May 2017 16:33:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 32F64160BA9; Sun, 14 May 2017 14:33:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 40597160BD1 for ; Sun, 14 May 2017 16:33:19 +0200 (CEST) Received: (qmail 40210 invoked by uid 500); 14 May 2017 14:33:18 -0000 Mailing-List: contact commits-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list commits@polygene.apache.org Received: (qmail 40127 invoked by uid 99); 14 May 2017 14:33:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 May 2017 14:33:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2BF14E9401; Sun, 14 May 2017 14:33:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: paulmerlin@apache.org To: commits@polygene.apache.org Date: Sun, 14 May 2017 14:33:19 -0000 Message-Id: <9bf84408681e4de1abb18fcc429a81df@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/7] polygene-java git commit: :core:api remove unused exceptions archived-at: Sun, 14 May 2017 14:33:20 -0000 :core:api remove unused exceptions Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/530b6dd4 Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/530b6dd4 Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/530b6dd4 Branch: refs/heads/develop Commit: 530b6dd41234b1863d4d65b576ad7fd2f02111b6 Parents: 7f180c0 Author: Paul Merlin Authored: Sun May 14 16:08:08 2017 +0200 Committer: Paul Merlin Committed: Sun May 14 16:08:08 2017 +0200 ---------------------------------------------------------------------- ...nstraintImplementationNotFoundException.java | 34 ------------------- .../api/mixin/InvalidMixinException.java | 35 -------------------- .../api/mixin/MixinMappingException.java | 35 -------------------- 3 files changed, 104 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-java/blob/530b6dd4/core/api/src/main/java/org/apache/polygene/api/constraint/ConstraintImplementationNotFoundException.java ---------------------------------------------------------------------- diff --git a/core/api/src/main/java/org/apache/polygene/api/constraint/ConstraintImplementationNotFoundException.java b/core/api/src/main/java/org/apache/polygene/api/constraint/ConstraintImplementationNotFoundException.java deleted file mode 100644 index 1d42685..0000000 --- a/core/api/src/main/java/org/apache/polygene/api/constraint/ConstraintImplementationNotFoundException.java +++ /dev/null @@ -1,34 +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.polygene.api.constraint; - -import org.apache.polygene.api.common.InvalidApplicationException; - -/** - * This exception is thrown if a Constraint implementation can not be found. - */ -public class ConstraintImplementationNotFoundException - extends InvalidApplicationException -{ - public ConstraintImplementationNotFoundException( String message ) - { - super( message ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-java/blob/530b6dd4/core/api/src/main/java/org/apache/polygene/api/mixin/InvalidMixinException.java ---------------------------------------------------------------------- diff --git a/core/api/src/main/java/org/apache/polygene/api/mixin/InvalidMixinException.java b/core/api/src/main/java/org/apache/polygene/api/mixin/InvalidMixinException.java deleted file mode 100644 index 0df6730..0000000 --- a/core/api/src/main/java/org/apache/polygene/api/mixin/InvalidMixinException.java +++ /dev/null @@ -1,35 +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.polygene.api.mixin; - -import java.lang.reflect.Method; - -/** - * This exception is thrown if a Mixin is invalid (missing method implementation). - */ -public class InvalidMixinException - extends RuntimeException -{ - public InvalidMixinException( Class mixinClass, Method method ) - { - super( mixinClass.getName() + "does not have a method implementation for " + method ); - } -} http://git-wip-us.apache.org/repos/asf/polygene-java/blob/530b6dd4/core/api/src/main/java/org/apache/polygene/api/mixin/MixinMappingException.java ---------------------------------------------------------------------- diff --git a/core/api/src/main/java/org/apache/polygene/api/mixin/MixinMappingException.java b/core/api/src/main/java/org/apache/polygene/api/mixin/MixinMappingException.java deleted file mode 100644 index 84f3746..0000000 --- a/core/api/src/main/java/org/apache/polygene/api/mixin/MixinMappingException.java +++ /dev/null @@ -1,35 +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.polygene.api.mixin; - -/** - * This Exception is thrown when it is not possible to map the MixinType to a valid - * CompositeType. - */ -public class MixinMappingException - extends RuntimeException -{ - private static final long serialVersionUID = 6843167709252705294L; - - public MixinMappingException( String message ) - { - super( message ); - } -}