aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-07 23:27:14 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-07 23:30:28 +0100
commit93bd288c805198bd8575995db25377b3ca6cb4a8 (patch)
treecb67a3a5cfaa03256e1f4a9ae3ceca6d2b2356e5 /sonar-core
parent66a20f05989d7e04be85105e777a625cf406ee5e (diff)
downloadsonarqube-93bd288c805198bd8575995db25377b3ca6cb4a8.tar.gz
sonarqube-93bd288c805198bd8575995db25377b3ca6cb4a8.zip
Delete unused class DatabaseException
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/jpa/session/DatabaseException.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/sonar-core/src/main/java/org/sonar/jpa/session/DatabaseException.java b/sonar-core/src/main/java/org/sonar/jpa/session/DatabaseException.java
deleted file mode 100644
index c09c11041b0..00000000000
--- a/sonar-core/src/main/java/org/sonar/jpa/session/DatabaseException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
- */
-package org.sonar.jpa.session;
-
-import javax.persistence.PersistenceException;
-
-public class DatabaseException extends PersistenceException {
-
- public DatabaseException(String message, Throwable cause) {
- super(message, cause);
- }
-
- public DatabaseException(int version, int requiredVersion) {
- super("Database schema must be updated [version/required=" + version + "/" + requiredVersion + "]. Please browse to your sonar homepage.");
- }
-}