[1077] in java-interest
AbstractMethodException
daemon@ATHENA.MIT.EDU (Trevor Misfeldt)
Fri Aug 18 01:28:55 1995
Date: Thu, 17 Aug 95 19:21:52 PDT
From: misfeldt@mda.ca (Trevor Misfeldt)
To: java-interest@java.sun.com
Cc: egh@mda.ca
I'm confused to as to what constitutes an AbstractMethodException.
I've looked at all the documentation and found very little. It
seems this exception is thrown when an abstract method is called.
How is this possible?
Don't all Java methods behave as C++ virtual functions?
If a parent class has an abstract method then that class is abstract
and can't be instantiated. If any subclass does not implement the
abstract method then that is a compile-time error. So, wouldn't a
subclass method always be called? Then, why do I get this exception
at run-time? And, what does it mean?
Thanks for your help!
Trevor
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com