aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-02-07 12:05:01 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-02-07 12:06:24 +0100
commit717b8c33a600dbbcc2d507655b05404bc16f8f41 (patch)
tree9aa07502517302f421fe16eb5f5c4b30bca7fa2d /sonar-plugin-api
parentc033d2a75956df7de7ff7a22460cc90eea15800b (diff)
downloadsonarqube-717b8c33a600dbbcc2d507655b05404bc16f8f41.tar.gz
sonarqube-717b8c33a600dbbcc2d507655b05404bc16f8f41.zip
SONAR-4087 prevents from setting several times the coverage between the same test case and testable component
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java
new file mode 100644
index 00000000000..925d14ffa0c
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java
@@ -0,0 +1,26 @@
+/*
+ * 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.api.test.exception;
+
+public class CoverageAlreadyExistsException extends TestException {
+ public CoverageAlreadyExistsException(String message) {
+ super(message);
+ }
+}