michaelandrepearce commented on a change in pull request #3448:
URL: https://github.com/apache/activemq-artemis/pull/3448#discussion_r574076932



##########
File path: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/AmqpCoreConverter.java
##########
@@ -444,7 +446,7 @@ private static void 
encodeUnsupportedMessagePropertyType(ServerJMSMessage jms, S
       }
    }
 
-   private static void setProperty(javax.jms.Message msg, String key, Object 
value) throws JMSException {
+   private static void setProperty(ServerJMSMessage msg, String key, Object 
value) throws Exception {

Review comment:
       Then maybe have a single base exception for these.  At least that way 
can still differentiate between those and other possible unexpected exceptions 
that could arise from a bug. 




----------------------------------------------------------------
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.

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


Reply via email to