We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3ab462 + 6626377 commit 7f01763Copy full SHA for 7f01763
src/main/java/com/rabbitmq/client/ConnectionFactory.java
@@ -373,7 +373,7 @@ public ConnectionFactory setUri(URI uri)
373
if (userInfo != null) {
374
String userPass[] = userInfo.split(":");
375
if (userPass.length > 2) {
376
- throw new IllegalArgumentException("Bad user info in AMQP " + "URI: " + userInfo);
+ throw new IllegalArgumentException("Bad user info in AMQP URI: user info contains more than one colon");
377
}
378
379
setUsername(uriDecode(userPass[0]));
0 commit comments