After using the ThrowsAdvice, all the "try" and "catch () {....}" in the other classes need to be removed. There are hundreds of “try …catch …” blocks
Have any fast way or tools let the job done?
:idea:
After using the ThrowsAdvice, all the "try" and "catch () {....}" in the other classes need to be removed. There are hundreds of “try …catch …” blocks
Have any fast way or tools let the job done?
:idea:
You could use AspectJ. You can write an aspect that will produce a compile-time error or warning on a given usage. You could then compile your code with AJC until you remove all the code you don't want.
Originally Posted by Rod Johnson
Great idea. Thanks Rod. I will try it.