diagnostics in mkdirs

This commit is contained in:
Stepan Koltsov
2012-01-19 20:33:37 +04:00
parent b360d2ada3
commit 746279ed56
@@ -153,6 +153,9 @@ public class JetTestUtils {
return;
}
if (!file.mkdirs()) {
if (file.exists()) {
throw new IOException("failed to create " + file + " file exists and not a directory");
}
throw new IOException();
}
}