summaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-testing-harness/src')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/i18n/BundleSynchronizedMatcher.java2
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);
}