fr.dyade.aaa.jndi2.impl
Class MissingRecordException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byfr.dyade.aaa.jndi2.impl.MissingRecordException
All Implemented Interfaces:
java.io.Serializable

public class MissingRecordException
extends javax.naming.NamingException

Thrown when a ContextRecord has not been found in a naming context. This may happen if the name asked in the JNDI request doesn't exist. That's why this exception includes a NameNotFoundException ready to be thrown forward. But the missing record may be resolved. For example, in a distributed configuration a missing record may indicate that the local JNDI server (where the record is missing) is not up to date according to a remote server where the record has been created. In this case, instead of throwing a NameNotFoundException the JNDI request may be blocked until the update arrives and creates the missing record.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
MissingRecordException(NamingContextId namingContextId, java.lang.Object ownerId, javax.naming.NameNotFoundException nnfe)
          Constructs a MissingRecordException.
 
Method Summary
 javax.naming.NameNotFoundException getNameNotFoundException()
           
 NamingContextId getNamingContextId()
           
 java.lang.Object getOwnerId()
           
 
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

MissingRecordException

public MissingRecordException(NamingContextId namingContextId,
                              java.lang.Object ownerId,
                              javax.naming.NameNotFoundException nnfe)
Constructs a MissingRecordException.

Parameters:
namingContextId - the identifier of the context where the record is missing.
nnfe - the naming exception to be thrown if the record really doesn't exist.
Method Detail

getNamingContextId

public final NamingContextId getNamingContextId()

getOwnerId

public final java.lang.Object getOwnerId()

getNameNotFoundException

public final javax.naming.NameNotFoundException getNameNotFoundException()


Copyright ? 2004 Scalagent - All rights reserved