PDA

View Full Version : Introduce ShowLastExceptionData easier


berocoder
22-Sep-2008, 01:48 PM
On many places in my application I have

try
some code with call to other methods
except
do something like rollback
raise exception.create;
end


in many levels of method calls.
Now if I start to use EurekaLog I have to replace

raise exception.create;

with


ShowLastExceptionData;
Abort;


instead. It can be a lot of work. I'm not sure how to do it but maybe some scanner to scan source for exception handling code and then do required changes? Most developers use revision control anyway to compare the changes before check in to revision system.

Regards
Roland

Yams
22-Sep-2008, 04:35 PM
Another solution is to implement chained exceptions support! :)))
http://news.eurekalog.com/showthread.php?t=2032

admin
30-Sep-2008, 05:02 PM
Hi,

I'll add this new features to the next major version! :)