mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
ARTEMIS-242 don't throw j.l.ISE from producer
This commit is contained in:
parent
1b49559c64
commit
1baa5a0d8b
@ -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