Carsten Ziegeler wrote:

>So, summarizing this, it seems that we agree on changing the InputModule
>interface to
>
>o.a.c.components.modules.InputModule
>{
>   Object getAttribute( String name, Map objectModel ) throws
>ProcessingException;
>
>   Iterator getAttributeNames( Map objectModel ) throws ProcessingException;
>
>   Object[] getAttributeValues( String name, Map objectModel ) throws
>ProcessingException;
>}
>
>Everyone happy with this?
>  
>

It looks simpler.

But why throwing a ProcessingException ? Simply throwing Exception would 
avoid exception cascading (I hate these never ending stacktraces) and 
better cope with the variety of implementations.

Sylvain

-- 
Sylvain Wallez
  Anyware Technologies                  Apache Cocoon
  http://www.anyware-tech.com           mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to