You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2018/05/17 13:33:51 UTC

qpid-broker-j git commit: QPID-8195: [Broker-J] Improve AmqpErrorException#toString

Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 687922c7e -> 277e172e0


QPID-8195: [Broker-J] Improve AmqpErrorException#toString


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/277e172e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/277e172e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/277e172e

Branch: refs/heads/master
Commit: 277e172e098dcbd0cbaf1afd68c9e178d89319b3
Parents: 687922c
Author: Keith Wall <kw...@apache.org>
Authored: Thu May 17 14:33:35 2018 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Thu May 17 14:33:35 2018 +0100

----------------------------------------------------------------------
 .../qpid/server/protocol/v1_0/type/AmqpErrorException.java  | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/277e172e/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/type/AmqpErrorException.java
----------------------------------------------------------------------
diff --git a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/type/AmqpErrorException.java b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/type/AmqpErrorException.java
index b1ba442..c580f1a 100644
--- a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/type/AmqpErrorException.java
+++ b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/type/AmqpErrorException.java
@@ -57,4 +57,13 @@ public class AmqpErrorException extends Exception
     {
         return _error;
     }
+
+    @Override
+    public String toString()
+    {
+        final StringBuilder sb = new StringBuilder("AmqpErrorException{");
+        sb.append("error=").append(_error);
+        sb.append('}');
+        return sb.toString();
+    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org