Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » exceptions in method signature
exceptions in method signature [message #173035] Thu, 12 August 2004 03:47 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Comparing two IBindings
Next Topic:Eclipse Debugger Calls
Goto Forum:
  


Current Time: Mon May 05 21:50:08 EDT 2025

Powered by FUDForum. Page generated in 0.05640 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top