public class MissingRecordException extends NamingException
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.| Modifier and Type | Field and Description |
|---|---|
private NamingContextId |
namingContextId |
private NameNotFoundException |
nnfe |
private Object |
ownerId |
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
remainingName, resolvedName, resolvedObj, rootException| Constructor and Description |
|---|
MissingRecordException(NamingContextId namingContextId,
Object ownerId,
NameNotFoundException nnfe)
Constructs a
MissingRecordException. |
| Modifier and Type | Method and Description |
|---|---|
NameNotFoundException |
getNameNotFoundException() |
NamingContextId |
getNamingContextId() |
Object |
getOwnerId() |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTraceprivate static final long serialVersionUID
private NamingContextId namingContextId
private Object ownerId
private NameNotFoundException nnfe
public MissingRecordException(NamingContextId namingContextId, Object ownerId, NameNotFoundException nnfe)
MissingRecordException.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.public final NamingContextId getNamingContextId()
public final Object getOwnerId()
public final NameNotFoundException getNameNotFoundException()
Copyright © 2019 ScalAgent D.T.. All Rights Reserved.