diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-22 09:41:33 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-22 09:41:33 +0100 |
commit | 929f50815d7c0679b34ade1d75024d54dd35d057 (patch) | |
tree | bfd5876ba79130275e5d13702458409967197580 /sonar-testing-harness/src | |
parent | 948692308d6f43e0525f0bf3210e44288a24f8da (diff) | |
download | sonarqube-929f50815d7c0679b34ade1d75024d54dd35d057.tar.gz sonarqube-929f50815d7c0679b34ade1d75024d54dd35d057.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-testing-harness/src')
-rw-r--r-- | sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java index 93aecf2c1d6..7ed8b3384a2 100644 --- a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java +++ b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java @@ -132,7 +132,7 @@ public class BundleSynchronizedMatcher extends BaseMatcher<String> { writer = new FileWriter(dumpFile); writer.write(details); } catch (IOException e) { - throw new RuntimeException("Unable to write the report to 'target/l10n/" + bundleName + ".report.txt'"); + throw new IllegalStateException("Unable to write the report to 'target/l10n/" + bundleName + ".report.txt'", e); } finally { IOUtils.closeQuietly(writer); } |