You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/06/21 13:37:37 UTC

[sling-org-apache-sling-capabilities] 01/02: Oops - forgot this class

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-capabilities.git

commit 47445f9dae5fed0dfe124b65378977d85f2d3f3e
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jun 21 15:37:05 2018 +0200

    Oops - forgot this class
---
 .../internal/DuplicateNamespaceException.java      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/src/main/java/org/apache/sling/capabilities/internal/DuplicateNamespaceException.java b/src/main/java/org/apache/sling/capabilities/internal/DuplicateNamespaceException.java
new file mode 100644
index 0000000..afdf255
--- /dev/null
+++ b/src/main/java/org/apache/sling/capabilities/internal/DuplicateNamespaceException.java
@@ -0,0 +1,28 @@
+/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ 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.sling.capabilities.internal;
+
+import java.io.IOException;
+
+/** Indicates duplicated capabilities namespaces */
+public class DuplicateNamespaceException extends IOException {
+    DuplicateNamespaceException(String namespace) {
+        super("Duplicate CapabilitiesSource namespace: " + namespace);
+    }
+}
\ No newline at end of file