Class EntryNotFoundException

All Implemented Interfaces:
Serializable, LocalizableException
Direct Known Subclasses:
ReferralException

public class EntryNotFoundException extends LdapException
Thrown when the result code returned in a Result indicates that the Request failed because the target entry was not found by the Directory Server. More specifically, this exception is used for the following error result codes:
  • NO_SUCH_OBJECT - the requested operation failed because it referenced an entry that does not exist.
  • REFERRAL - the requested operation failed because it referenced an entry that is located on another server.
  • CLIENT_SIDE_NO_RESULTS_RETURNED - the requested single entry search operation or read operation failed because the Directory Server did not return any matching entries.
NOTE: referrals are handled by the ReferralException sub-class.
See Also: