コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public org.neo4j.collection.RawIterator<Object[],org.neo4j.internal.kernel.api.exceptions.ProcedureException> apply(org.neo4j.kernel.api.proc.Context context, Object[] objects, org.neo4j.kernel.api.ResourceTracker resourceTracker) throws org.neo4j.internal.kernel.api.exceptions.ProcedureException
            public override RawIterator <object[], ProcedureException> apply(Context context, object[] objects, ResourceTracker resourceTracker)
            {
                try
                {
                    Thread.Sleep(50);
                }
                catch (InterruptedException e)
                {
                    throw new ProcedureException(Org.Neo4j.Kernel.Api.Exceptions.Status_General.UnknownError, e, "Interrupted");
                }
                return(RawIterator.empty());
            }