Hi,
A small suggestion which would be really nice -
When doing surround-with try...catch, it would be great if it didn't add
catch clauses for exception types already in the "throws" clause of the
method.
i.e:
public void supportMethod throws MyException
{
...
}
public void myMethod() throws MyException
{
supportMethod();
byte b = istream.read();
}
Now, if I do the "surround with" around those two lines of code, it
produces two catch clauses, one for MyException and one for IOException.
This is usually (I think) not what is desired by the user if their method
already throws that type of exception (MyException).
In some situations you may want to catch and re-throw, so an option may
be needed for this to be acceptable.
Cheers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ W<A> ~~~~~
(o) Wangjammer5 (Marc Palmer)
( ) Wangjammer7
www.wangjammers.org = Java Consultants (Web|Smartcards|Crypto)
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features