remove deps on 1.6 constructor, no point making 1.6 a requirement for this little feature

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-05-21 10:08:22 +00:00
parent e2a383690c
commit 4386e118a1
1 changed files with 6 additions and 2 deletions

View File

@ -196,7 +196,9 @@ public class AsyncDataManager {
try {
this.scheduler.start();
} catch (Exception e) {
throw new IOException(e);
IOException ioe = new IOException("scheduler start: " + e);
ioe.initCause(e);
throw ioe;
}
this.scheduler.executePeriodically(cleanupTask, DEFAULT_CLEANUP_INTERVAL);
}
@ -337,7 +339,9 @@ public class AsyncDataManager {
try {
this.scheduler.stop();
} catch (Exception e) {
throw new IOException(e);
IOException ioe = new IOException("scheduler stop: " + e);
ioe.initCause(e);
throw ioe;
}
accessorPool.close();
storeState(false);