Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-09-14 18:36:03 -0400
committerRyan D. Brooks2010-09-14 18:36:03 -0400
commit873a11cd7ffae414071f4b2620cc2d5ef3278666 (patch)
treeeb606a8e441f9f91e993a5a9cc82d56b6e7d5f20 /plugins
parent14ec406b2105173c444154ffff52e90fa469c224 (diff)
downloadorg.eclipse.osee-873a11cd7ffae414071f4b2620cc2d5ef3278666.tar.gz
org.eclipse.osee-873a11cd7ffae414071f4b2620cc2d5ef3278666.tar.xz
org.eclipse.osee-873a11cd7ffae414071f4b2620cc2d5ef3278666.zip
refactor: Remove unnecessary exception OseeDatabaseConnectionInfoNotFoundException
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/exception/OseeDatabaseConnectionInfoNotFoundException.java32
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DatabaseInfoProvider.java3
2 files changed, 1 insertions, 34 deletions
diff --git a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/exception/OseeDatabaseConnectionInfoNotFoundException.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/exception/OseeDatabaseConnectionInfoNotFoundException.java
deleted file mode 100644
index 7e77b022d0..0000000000
--- a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/exception/OseeDatabaseConnectionInfoNotFoundException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.exception;
-
-/**
- * @author Roberto E. Escobar
- */
-public class OseeDatabaseConnectionInfoNotFoundException extends OseeDataStoreException {
-
- private static final long serialVersionUID = -2070849808510787374L;
-
- public OseeDatabaseConnectionInfoNotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
- public OseeDatabaseConnectionInfoNotFoundException(String message) {
- super(message);
- }
-
- public OseeDatabaseConnectionInfoNotFoundException(Throwable cause) {
- super(cause);
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DatabaseInfoProvider.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DatabaseInfoProvider.java
index 6a9a3416a6..2cdfc1363c 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DatabaseInfoProvider.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DatabaseInfoProvider.java
@@ -17,7 +17,6 @@ import java.util.logging.Level;
import org.eclipse.osee.framework.core.data.IDatabaseInfo;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeDataStoreException;
-import org.eclipse.osee.framework.core.exception.OseeDatabaseConnectionInfoNotFoundException;
import org.eclipse.osee.framework.core.util.Conditions;
import org.eclipse.osee.framework.database.core.IDbConnectionInformationContributor;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
@@ -82,7 +81,7 @@ public class DatabaseInfoProvider {
} finally {
tracker.close();
}
- throw new OseeDatabaseConnectionInfoNotFoundException(String.format(
+ throw new OseeDataStoreException(String.format(
"DB connection information was not found for: [%s]\n Available connection ids are: [%s]\n", serverIdToFind,
infoKeys));
}

Back to the top