replace throwable with runtime exception
This commit is contained in:
Andy Taylor 2015-06-22 16:37:46 +01:00
parent 4c0b7ce9b1
commit 26eb103b92
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
} catch (Throwable t) { } catch (Throwable t) {
LOG.debug("Unable to call after delivery", t); LOG.debug("Unable to call after delivery", t);
afterDeliveryError.set(true); afterDeliveryError.set(true);
throw t; throw new RuntimeException(t);
} }
} }
} }