aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-maven-plugin
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:30:53 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-06-26 11:31:12 +0200
commit61e3e7a2551b42c4ede37cbdee5392e1d93d6a31 (patch)
treea0753923bcb00bd84abace89fed5177e5aa74367 /sonar-maven-plugin
parentaae644fd6f1344fa9f304627335534485862ac04 (diff)
downloadsonarqube-61e3e7a2551b42c4ede37cbdee5392e1d93d6a31.tar.gz
sonarqube-61e3e7a2551b42c4ede37cbdee5392e1d93d6a31.zip
Fix some quality flaws
Diffstat (limited to 'sonar-maven-plugin')
-rw-r--r--sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
index f5b18848593..0bb664d9ffc 100644
--- a/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
+++ b/sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
@@ -197,7 +197,7 @@ public final class SonarMojo extends AbstractMojo {
try {
file = new File(basedir, path).getCanonicalFile();
} catch (IOException e) {
- throw new RuntimeException("Unable to resolve path '" + path + "'", e);
+ throw new IllegalStateException("Unable to resolve path '" + path + "'", e);
}
}
return file;