We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45284cb + a6ac7ce commit 3094744Copy full SHA for 3094744
src/main/java/com/rabbitmq/client/ConnectionFactory.java
@@ -376,7 +376,7 @@ public void setUri(URI uri)
376
if (userInfo != null) {
377
String userPass[] = userInfo.split(":");
378
if (userPass.length > 2) {
379
- 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");
380
}
381
382
setUsername(uriDecode(userPass[0]));
0 commit comments