From 196238b73cd4723b0a44f9bd437460a91234e693 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 15 Jan 2014 18:36:24 +0100 Subject: [PATCH] Remove unused ValidationException --- .../server/rule/ValidationException.java | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 sonar-server/src/main/java/org/sonar/server/rule/ValidationException.java diff --git a/sonar-server/src/main/java/org/sonar/server/rule/ValidationException.java b/sonar-server/src/main/java/org/sonar/server/rule/ValidationException.java deleted file mode 100644 index 6ddd1d063ca..00000000000 --- a/sonar-server/src/main/java/org/sonar/server/rule/ValidationException.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2013 SonarSource - * mailto:contact AT sonarsource DOT com - * - * SonarQube 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. - * - * SonarQube 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 this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -package org.sonar.server.rule; - -import com.google.common.collect.ImmutableList; - -import java.util.List; - -/** - * @since - * - */ -public class ValidationException extends Exception { - - private final List messages; - - public ValidationException(List validationMessages) { - messages = ImmutableList.copyOf(validationMessages); - } - - public List messages() { - return messages; - } -} -- 2.39.5