That’s not a possibility at this
point.
I was poking around and found quick fix in
tasks, which sorta does what I want, but I would want to apply it over the
entire workspace. All the markers that have this error message, resolve them
with the throws fix.
Steve Lohrenz
From: eclipse-dev-admin@xxxxxxxxxxx
[mailto:eclipse-dev-admin@xxxxxxxxxxx] On
Behalf Of Michael Grubb
Sent: 01 July 2004 15:16
To: eclipse-dev@xxxxxxxxxxx
Subject: Re: [eclipse-dev]
Project-wide refactoring of Exception Handling
I don't know how you would feel about this solution
but a quick way would be to use aspects.
Check out http://eclipse.org/aspectj/
Steven Lohrenz wrote:
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.
|