Yes, sounds good to me!

Stefan,
the paranoid :-)

compeople AG
Untermainanlage 8
60329 Frankfurt

fon: +49 (69) 272218 - 0
fax: +49 (69) 272218 - 22
email: [EMAIL PROTECTED]
home: www.compeople.de



-----"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote: -----

To: <[email protected]>
From: "Howard M. Lewis Ship" <[EMAIL PROTECTED]>
Date: 03.06.2004 17:17
Subject: RE: ErrorHandler

Not a bad idea, i.e.

public interface ProblemHandler
{
public void reportProblem(Log log, String message, Location location,
Throwable exception);
}

Default impl will simply use the log; paranoid implementation will throw an
ApplicationRuntimeException.

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


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 03, 2004 10:09 AM
> To: [email protected]
> Subject: ErrorHandler
>
>
>
> I would need something similar to the error handler in hivemind.
> Something like a problem handler, which could also be passed to the
> RegistryBuilder like the ErrorHandler.
> The ProblemHandler would get all problems reported during construction
> of the registry. With that it would be possible to define custom
> policies on how to deal with problems like
> "No module has contributed a service constructor for service extension
> point ...".
> When running the appication in a "strict mode" the problem handler
> could throw a runtime exception to report a configuration error.
>
> compeople AG
> Untermainanlage 8
> 60329 Frankfurt
>
> fon: +49 (69) 272218 - 0
> fax: +49 (69) 272218 - 22
> email: [EMAIL PROTECTED]
> home: www.compeople.de
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



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

Reply via email to