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…
Reference in New Issue