directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: What is the correct failure behavior for org.apache.directory.server.core.partition.lookup()
Date Tue, 08 Jul 2008 16:58:17 GMT
On Tue, Jul 8, 2008 at 12:57 PM, Alex Karasulu <akarasulu@apache.org> wrote:

> It should throw null.  I think we need a solid review of these interfaces
> along with a partition implementors guide.
>

Ooops return null - you probably understood me anyways :).

Alex


>
> Alex
>
>
> On Tue, Jul 8, 2008 at 12:16 PM, Icky Dude <ickydude@gmail.com> wrote:
>
>> Hi,
>>
>> Interface documentation isn't completel clear about what an
>> implementor of the partition interface should do when the object
>> specified by the LookupOperationContext does not exist in a call to
>> lookup().
>>
>> Should null be returned or should an NamingException be thrown, if so,
>> which NamingException.
>>
>> Thanks.
>>
>
>

Mime
View raw message