public static class

MergePolicy.MergeException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.lucene.index.MergePolicy.MergeException

Class Overview

Exception thrown if there are any problems while executing a merge.

Summary

Public Constructors
MergePolicy.MergeException(String message, Directory dir)
MergePolicy.MergeException(Throwable exc, Directory dir)
Public Methods
Directory getDirectory()
Returns the Directory of the index that hit the exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MergePolicy.MergeException (String message, Directory dir)

public MergePolicy.MergeException (Throwable exc, Directory dir)

Public Methods

public Directory getDirectory ()

Returns the Directory of the index that hit the exception.