You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/12/22 14:33:06 UTC

[isis] 02/03: ISIS-2033: dn remove unused exceptions

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 87d8f1f82c733c86ac4efa54c79422ad7d157ec5
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Dec 22 15:18:15 2020 +0100

    ISIS-2033: dn remove unused exceptions
---
 .../exceptions/DataNucleusException.java           | 43 ----------------------
 .../exceptions/JdoRuntimeException.java            | 34 -----------------
 2 files changed, 77 deletions(-)

diff --git a/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/DataNucleusException.java b/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/DataNucleusException.java
deleted file mode 100644
index f52addb..0000000
--- a/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/DataNucleusException.java
+++ /dev/null
@@ -1,43 +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.isis.persistence.jdo.integration.exceptions;
-
-import org.apache.isis.core.metamodel.adapter.oid.ObjectPersistenceException;
-
-public class DataNucleusException extends ObjectPersistenceException {
-
-    private static final long serialVersionUID = 1L;
-
-    public DataNucleusException() {
-        super();
-    }
-
-    public DataNucleusException(String message, Throwable cause) {
-        super(message, cause);
-    }
-
-    public DataNucleusException(String message) {
-        super(message);
-    }
-
-    public DataNucleusException(Throwable cause) {
-        super(cause);
-    }
-
-}
diff --git a/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/JdoRuntimeException.java b/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/JdoRuntimeException.java
deleted file mode 100644
index 0112a1b..0000000
--- a/persistence/jdo/integration/src/main/java/org/apache/isis/persistence/jdo/integration/exceptions/JdoRuntimeException.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.isis.persistence.jdo.integration.exceptions;
-
-public class JdoRuntimeException extends RuntimeException {
-
-    private static final long serialVersionUID = 1L;
-
-    public JdoRuntimeException() {
-        super();
-    }
-
-    public JdoRuntimeException(String arg0) {
-        super(arg0);
-    }
-
-
-}