コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected org.neo4j.graphdb.Relationship getRelationship(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb, java.net.URI uri) throws BadInputException, org.neo4j.server.rest.web.RelationshipNotFoundException
        protected internal virtual Relationship GetRelationship(GraphDatabaseAPI graphDb, URI uri)
        {
            try
            {
                return(graphDb.GetRelationshipById(ExtractId(uri)));
            }
            catch (NotFoundException e)
            {
                throw new RelationshipNotFoundException(e);
            }
        }