erroneous "does not throw XXXException"

I have a stateless session bean thats now showing up a "method does not
throw XXX exception" message for an overridden abstract method.

However, if I click through to the parent class and look at the method
signature, it definitely throws it.

The class is from a library of which theres only one copy, and only one
version mentioned in the library paths.

Anyone seen this before?

1 comment
Comment actions Permalink

I'm not sure I totally understand the problem, but do you know that
overridden/implemented methods do not need to declare the same throws
clause as the super method?

Mark Derricutt wrote:

I have a stateless session bean thats now showing up a "method does not
throw XXX exception" message for an overridden abstract method.

However, if I click through to the parent class and look at the method
signature, it definitely throws it.

The class is from a library of which theres only one copy, and only one
version mentioned in the library paths.

Anyone seen this before?

0

Please sign in to leave a comment.