List<String> matchingClassNames(String agentId, String partialClassName, int limit) throws Exception { ConnectedAgent connectedAgent = connectedAgents.get(agentId); if (connectedAgent == null) { throw new AgentNotConnectedException(); } return connectedAgent.matchingClassNames(partialClassName, limit); }