Hi!

An information to those not following the commit messages.

I've commited a new class that I hope to prove useful
in development and debuging Turbine applications.

It's an exception class, that has the ability to wrap
exception that was caught, thus provoking throwing
another exception exception.

This information can be later extracted using standard
printStackTrace methods. A comprehensive stacktrace
will be produced, showing information about nested
exceptions, but without repeating the common stack 
frames, which makes the stacktrace shorter and more
readable.

Please see the javadocs for org.apache.turbine.util.TurbineException
for an example of this functionality.

I've alreade converted the DBSecurityService/DBUserManager
classes to use the new exception class, and currently I'm working
on the services framework itself - it has a few cases of
rethrowing exceptions that I must rethink a little bit.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to