public class IndexNotFoundException extends NamingException
remainingName, resolvedName, resolvedObj, rootException
Constructor and Description |
---|
IndexNotFoundException(String indexName)
Constructs an Exception with a detailed message.
|
IndexNotFoundException(String message,
String indexName)
Constructs an Exception with a detailed message.
|
IndexNotFoundException(String message,
String indexName,
Throwable rootCause)
Constructs an Exception with a detailed message and a root cause
exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getIndexName()
Gets the name of the attribute the index was missing for.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IndexNotFoundException(String indexName)
indexName
- the name of the index that was not foundpublic IndexNotFoundException(String message, String indexName)
message
- the message associated with the exception.indexName
- the name of the index that was not foundpublic IndexNotFoundException(String message, String indexName, Throwable rootCause)
message
- the message associated with the exception.indexName
- the name of the index that was not foundrootCause
- the root cause of this exceptionpublic String getIndexName()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.