diff options
Diffstat (limited to 'sonar-maven-plugin/src/main/java')
-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; |