mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 09:20:07 +00:00
This closes #194
This commit is contained in:
commit
5bfb7ac1ad
@ -479,6 +479,12 @@ public class ActiveMQMessageProducer implements MessageProducer, QueueSender, To
|
||||
catch (ActiveMQException e) {
|
||||
throw JMSExceptionHelper.convertFromActiveMQException(e);
|
||||
}
|
||||
catch (java.lang.IllegalStateException e) {
|
||||
JMSException je = new IllegalStateException(e.getMessage());
|
||||
je.setStackTrace(e.getStackTrace());
|
||||
je.initCause(e);
|
||||
throw je;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkClosed() throws JMSException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user