fr.dyade.aaa.jndi2.impl

Class MissingRecordException


public class MissingRecordException
extends 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.

Constructor Summary

MissingRecordException(NamingContextId namingContextId, Object ownerId, NameNotFoundException nnfe)
Constructs a MissingRecordException.

Method Summary

NameNotFoundException
getNameNotFoundException()
NamingContextId
getNamingContextId()
Object
getOwnerId()

Constructor Details

MissingRecordException

public MissingRecordException(NamingContextId namingContextId,
                              Object ownerId,
                              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 Details

getNameNotFoundException

public final NameNotFoundException getNameNotFoundException()


getNamingContextId

public final NamingContextId getNamingContextId()


getOwnerId

public final Object getOwnerId()


Copyright B) 2004 Scalagent - All rights reserved