Finding the usages of a thrown exception Follow
I remember reading a while back that there was a way to find where an exception is caught from where it is thrown.
So if I have:
public void a() throws FooException
throw new FooException();
public void b() throws FooException
public void c()
} catch FooException
It would jump from throw FooException in method a() to the catch clause of FooException in method c() based on the call hierarchy and exceptions.
Was I dreaming? And if this isn't currently implemented does it sound like a good idea?
Please sign in to leave a comment.
Invoke Find Usages (Alt+F7) on throw keyword.
"Develop with pleasure!"
MS> Invoke Find Usages (Alt+F7) on throw keyword.
Just did: http://www.intellij.net/tracker/idea/viewSCR?publicId=45112