#2811: Shorten "Cannot request protocol" exception
This commit is contained in:
@@ -344,7 +344,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException( "Cannot request protocol " + handshake.getRequestedProtocol() );
|
||||
throw new QuietException( "Cannot request protocol " + handshake.getRequestedProtocol() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user