Thx for your replies, guys!

By following the link to Orcale's docs I learned that the *throws *statement 
belongs to the public interface: "These exceptions are as much a part of 
that method's programming interface as its parameters and return value." If 
this was true, the implementation would have to declare the throws 
statement as defined in the interface.

Nevertheless it's obviously possible to skip the *throws *clause altogether 
or to use a different *throws *statement in the implementing method. So I 
guess the docs are wrong in this aspect!?

However, I still can't figure out the purpose of a method which implements 
an interface and declares a *throws* clause that differs from the 
interface. Does it only affect clients using the method without using it 
via the interface?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VHpk74ylYN4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to