Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Project-wide refactoring of Exception Handling

I am working with a customized version of Eclipse 2.1.

 

I am working on a project that has dependencies on some company wide foundation classes.  The Foundation team in it’s most recent iteration has decided to start throwing a certain checked exception from a majority of it’s methods.  Now I am tasked with updating our code base to throw the exception (we weren’t handling it before, so why should we now).  I was wondering if there is an easy way to refactor all the errors of a certain type in the workspace.  For example, for all errors of type ‘Unhandled exception type TempException’ it would refactor it to ‘Add throws declaration’?

 

If not, could someone point me in the right direction to quickly develop an add-on that would accomplish this task?

 

Thanks,

Steve

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

Back to the top