Author: mircea.markus
Date: 2008-01-29 13:53:19 -0500 (Tue, 29 Jan 2008)
New Revision: 5258
Modified:
benchmarks/benchmark-fwk/trunk/src/org/cachebench/CacheBenchmarkRunner.java
Log:
the runner will also cactch Throwable, so that now it will log OOM exceptions if they
appear
Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/CacheBenchmarkRunner.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/CacheBenchmarkRunner.java 2008-01-29
18:52:21 UTC (rev 5257)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/CacheBenchmarkRunner.java 2008-01-29
18:53:19 UTC (rev 5258)
@@ -79,7 +79,7 @@
}
logger.info("Benchmarking Completed. Hope you enjoyed using this!
\n");
}
- catch (Exception e)
+ catch (Throwable e)
{
logger.warn("Unable to parse configuration file " + confFile +
". Application terminated", e);
errorLogger.fatal("Unable to parse configuration file " + confFile,
e);
Show replies by date