diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-26 11:30:53 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-26 11:31:12 +0200 |
commit | 61e3e7a2551b42c4ede37cbdee5392e1d93d6a31 (patch) | |
tree | a0753923bcb00bd84abace89fed5177e5aa74367 /sonar-maven-plugin | |
parent | aae644fd6f1344fa9f304627335534485862ac04 (diff) | |
download | sonarqube-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.java | 2 |
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; |