Class MergePolicy.MergeException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    MergePolicy

    public static class MergePolicy.MergeException
    extends java.lang.RuntimeException
    Exception thrown if there are any problems while executing a merge.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Directory getDirectory()
      Returns the Directory of the index that hit the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MergeException

        public MergeException​(java.lang.String message,
                              Directory dir)
        Create a MergeException.
      • MergeException

        public MergeException​(java.lang.Throwable exc,
                              Directory dir)
        Create a MergeException.
    • Method Detail

      • getDirectory

        public Directory getDirectory()
        Returns the Directory of the index that hit the exception.