remove JDK 1.6 specific calls

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2010-06-16 10:12:23 +00:00
parent 774a9daa4d
commit 37b7d9cfbd
1 changed files with 2 additions and 2 deletions

View File

@ -236,9 +236,9 @@ public class KahaDBTransactionStore implements TransactionStore {
try {
result.get();
} catch (InterruptedException e) {
theStore.brokerService.handleIOException(new IOException(e));
theStore.brokerService.handleIOException(new IOException(e.getMessage()));
} catch (ExecutionException e) {
theStore.brokerService.handleIOException(new IOException(e));
theStore.brokerService.handleIOException(new IOException(e.getMessage()));
}catch(CancellationException e) {
}
if (!result.isCancelled()) {