Lucene.Net.Index.ConcurrentMergeScheduler.AnyUnhandledExceptions C# (CSharp) Метод

AnyUnhandledExceptions() публичный статический Метод

Used for testing
public static AnyUnhandledExceptions ( ) : bool
Результат bool
		public static bool AnyUnhandledExceptions()
		{
			if (allInstances == null)
			{
				throw new System.SystemException("setTestMode() was not called; often this is because your test case's setUp method fails to call super.setUp in LuceneTestCase");
			}
			lock (allInstances)
			{
				int count = allInstances.Count;
				// Make sure all outstanding threads are done so we see
				// any exceptions they may produce:
				for (int i = 0; i < count; i++)
				    allInstances[i].Sync();
				bool v = anyExceptions;
				anyExceptions = false;
				return v;
			}
		}