Menu

#12 casting nested interface to implementations of interface

open
nobody
None
5
2004-05-11
2004-05-11
No

situation:
-method's return type is a nested interface
-after calling this method trying to cast the return
value to an implementation of this nested interface
-->error

java.lang.RuntimeException: cast to given family not
possible

may be the same error as the other cast problems.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB