aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-12-09 22:02:28 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-12-09 22:02:28 +0100
commitf0cbff8e9697dd5cb4999eee5e6f92871eacdfe2 (patch)
tree300024d21d9653b784d0eca86d9b818631f3612e /sonar-home
parent9b8d4d064f0c719ae1a96fc2140912a90b367706 (diff)
downloadsonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.tar.gz
sonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.zip
Fix some quality flaws
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/FileCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
index bed2671dc6a..1b12814c1df 100644
--- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
+++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
@@ -144,7 +144,7 @@ public class FileCache {
} catch (IOException e) {
// ignore except the last try
if (counter == TEMP_FILE_ATTEMPTS - 1) {
- throw new IllegalStateException();
+ throw new IllegalStateException("Fail to create temp file", e);
}
}
}