ppkarwasz commented on code in PR #5639:
URL: https://github.com/apache/activemq-artemis/pull/5639#discussion_r2049100971


##########
artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQException.java:
##########
@@ -75,6 +75,6 @@ public ActiveMQExceptionType getType() {
 
    @Override
    public String toString() {
-      return this.getClass().getSimpleName() + "[errorType=" + type + " 
message=" + getMessage() + "]";
+      return this.getClass().getName() + "[errorType=" + type + " message=" + 
getMessage() + "]";

Review Comment:
   ```suggestion
         return this.getClass().getName() + ": [errorType=" + type + " 
message=" + getMessage() + "]";
   ```
   
   It is probably better to keep the format `<fully_qualified_class_name>: 
<custom_message>`.



-- 
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: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to