Class LuceneIndexSnapshotException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.internal.index.lucene.snapshot.LuceneIndexSnapshotException
-
- All Implemented Interfaces:
Serializable
public class LuceneIndexSnapshotException extends RuntimeException
Exception when creating or restoring a new Lucene snapshot- Since:
- 7.6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexSnapshotException(String message)
LuceneIndexSnapshotException(String message, IndexSnapshotError error)
LuceneIndexSnapshotException(String message, IndexSnapshotError error, Throwable cause)
LuceneIndexSnapshotException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexSnapshotError
getError()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LuceneIndexSnapshotException
public LuceneIndexSnapshotException(String message)
-
LuceneIndexSnapshotException
public LuceneIndexSnapshotException(String message, IndexSnapshotError error)
-
LuceneIndexSnapshotException
public LuceneIndexSnapshotException(String message, IndexSnapshotError error, Throwable cause)
-
-
Method Detail
-
getError
public IndexSnapshotError getError()
- Returns:
- an error code which describes why snapshot creation/restoration failed
-
-