org.apache.directory.server.core.partition.impl.btree
Class IndexNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byorg.apache.directory.server.core.partition.impl.btree.IndexNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class IndexNotFoundException
extends javax.naming.NamingException

NamingException for missing indicies if full table scans are disallowed.

Version:
$Rev: 434579 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
IndexNotFoundException(java.lang.String indexName)
          Constructs an Exception with a detailed message.
IndexNotFoundException(java.lang.String message, java.lang.String indexName)
          Constructs an Exception with a detailed message.
IndexNotFoundException(java.lang.String message, java.lang.String indexName, java.lang.Throwable rootCause)
          Constructs an Exception with a detailed message and a root cause exception.
 
Method Summary
 java.lang.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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexNotFoundException

public IndexNotFoundException(java.lang.String indexName)
Constructs an Exception with a detailed message.

Parameters:
indexName - the name of the index that was not found

IndexNotFoundException

public IndexNotFoundException(java.lang.String message,
                              java.lang.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(java.lang.String message,
                              java.lang.String indexName,
                              java.lang.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 found
rootCause - the root cause of this exception
Method Detail

getIndexName

public java.lang.String getIndexName()
Gets the name of the attribute the index was missing for.

Returns:
the name of the attribute the index was missing for.