From 93bd288c805198bd8575995db25377b3ca6cb4a8 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 7 Mar 2012 23:27:14 +0100 Subject: [PATCH] Delete unused class DatabaseException --- .../sonar/jpa/session/DatabaseException.java | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 sonar-core/src/main/java/org/sonar/jpa/session/DatabaseException.java 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."); - } -} -- 2.39.5