: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 <[email protected]>
Authored: Sun May 14 16:08:08 2017 +0200
Committer: Paul Merlin <[email protected]>
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 );
-    }
-}

Reply via email to