Provide a meaningful error message to the author or at least to the developer 
(leveraging the WCMDeveloperMode). By meaningful I don’t talk about something 
hidden within the logs.
Konrad

On 07 Jul 2014, at 18:27, Carsten Ziegeler <cziege...@apache.org> wrote:

> 2014-07-07 18:14 GMT+02:00 Justin Edelson <jus...@justinedelson.com>:
> 
>> Hi,
>> 
>> 
>> I found a more concrete example in the AEM codebase (so apologies to
>> the non-Adobe people on this thread who will just have to take my word
>> for it). The adapter factory which adapts Resources into Scene7 "set"
>> objects makes a number of validations before returning a non-null
>> result:
>> 1) Is the Resource an Asset?
>> 2) Does the Asset represet a Scene7 set? (which is done by looking at
>> a property)
>> 3) Does the requested set class correspond to the set type of the Asset?
>> 
>> 
> But again, what different action would a client take depending on the error
> condition 1, 2 or 3?
> 
> Carsten
> 
> 
>> Regards,
>> Justin
>> 
>>> 
>>> Cheers,
>>> Alex
>>> 
>> 
> 
> 
> 
> -- 
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org

Reply via email to