exceptions in method signature [message #173035] |
Thu, 12 August 2004 03:47  |
Eclipse User |
|
|
|
I have a method to which I want to add a "throws" clause. I invoke the
refactoring action of "change method signature". I do it through the
refactoring mechanism, so that all subclasses are updated automatically.
The exception that I want to throw is a new one, that I want to add to my
code. If, by any chance, an exception with the same class name already
exists (not the FQN, just the class' name), then I cannot add it - the known
one (from another package) is added.
Any way around this, or is this a sort of a bug?
|
|
|
Re: exceptions in method signature [message #173043 is a reply to message #173035] |
Thu, 12 August 2004 04:43  |
Eclipse User |
|
|
|
This should work in Eclipse 3.0. Please file a bug against JDT/UI,
describing exact steps to reproduce and including your build id.
Thanks,
Markus
Zohar wrote:
> I have a method to which I want to add a "throws" clause. I invoke the
> refactoring action of "change method signature". I do it through the
> refactoring mechanism, so that all subclasses are updated automatically.
> The exception that I want to throw is a new one, that I want to add to my
> code. If, by any chance, an exception with the same class name already
> exists (not the FQN, just the class' name), then I cannot add it - the known
> one (from another package) is added.
> Any way around this, or is this a sort of a bug?
|
|
|
Powered by
FUDForum. Page generated in 0.05640 seconds