public virtual void testCreateUsingUrl() { try { Connection conn = cm.create(url); Assert.NotNull(conn); } catch (RemotingException) { Assert.Null("should not reach here!"); } }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public Connection createStandaloneConnection(String ip, int port, int connectTimeout) throws exception.RemotingException public override Connection createStandaloneConnection(IPAddress ip, int port, int connectTimeout) { return(connectionManager.create(ip, port, connectTimeout)); }