When you build a Registry, you can provide an ErrorHandler to the
RegistryBuilder. It controls how "recoverable" errors are handled. 
The default impl logs the error, but there's a provided
StrictErrorHandler impl that throws ARE instead.

On Fri, 30 Jul 2004 10:41:04 -0400, James Carman
<[EMAIL PROTECTED]> wrote:
> Is there any way to check for any configuration violations in your registry?
> For instance, if I forget to contribute to a configuration in my registry,
> it merely logs the error message, but continues on.  Is there any way to
> tell a registry builder to be more strict?  I would like it to throw an
> ApplicationRuntimeException when it encounters these sorts of situations.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

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

Reply via email to