mattrpav commented on a change in pull request #756:
URL: https://github.com/apache/activemq/pull/756#discussion_r800250768



##########
File path: 
activemq-client/src/main/java/org/apache/activemq/util/JMSExceptionSupport.java
##########
@@ -61,6 +63,11 @@ public static JMSException create(Exception cause) {
         if (cause instanceof JMSException) {
             return (JMSException)cause;
         }
+        if (cause instanceof MaxFrameSizeExceededException) {
+            JMSException jmsException = new JMSException(cause.getMessage(), 
"41300");
+            jmsException.setLinkedException(cause);

Review comment:
       Should we do both? A number of the JMSExceptionSupport hanlding is 
linking both in.  only costs a pointer




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to