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
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