You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2006/09/25 12:40:25 UTC
svn commit: r449636 -
/incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java
Author: ritchiem
Date: Mon Sep 25 03:40:24 2006
New Revision: 449636
URL: http://svn.apache.org/viewvc?view=rev&rev=449636
Log:
Added Broker Details to exception
Modified:
incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java
Modified: incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java?view=diff&rev=449636&r1=449635&r2=449636
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java (original)
+++ incubator/qpid/trunk/qpid/java/common/src/org/apache/qpid/AMQUnresolvedAddressException.java Mon Sep 25 03:40:24 2006
@@ -19,8 +19,16 @@
public class AMQUnresolvedAddressException extends AMQException
{
- public AMQUnresolvedAddressException(String message)
+ String _broker;
+
+ public AMQUnresolvedAddressException(String message, String broker)
{
super(message);
+ _broker = broker;
+ }
+
+ public String toString()
+ {
+ return super.toString() + " Broker, \"" + _broker +"\"";
}
}