org.apache.directory.server.xdbm
Class IndexNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
org.apache.directory.server.xdbm.IndexNotFoundException
- All Implemented Interfaces:
- Serializable
public class IndexNotFoundException
- extends NamingException
NamingException for missing indicies if full table scans are disallowed.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
|
Method Summary |
String |
getIndexName()
Gets the name of the attribute the index was missing for. |
| Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
IndexNotFoundException
public IndexNotFoundException(String indexName)
- Constructs an Exception with a detailed message.
- Parameters:
indexName - the name of the index that was not found
IndexNotFoundException
public IndexNotFoundException(String message,
String indexName)
- Constructs an Exception with a detailed message.
- Parameters:
message - the message associated with the exception.indexName - the name of the index that was not found
IndexNotFoundException
public IndexNotFoundException(String message,
String indexName,
Throwable rootCause)
- Constructs an Exception with a detailed message and a root cause
exception.
- Parameters:
message - the message associated with the exception.indexName - the name of the index that was not foundrootCause - the root cause of this exception
getIndexName
public String getIndexName()
- Gets the name of the attribute the index was missing for.
- Returns:
- the name of the attribute the index was missing for.
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.