This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Throwing exceptions from unimplemented classes?


>>>>> ">" == Doctor Bill <docbill@gmail.com> writes:

>> Excuse the newbie question, but has there been any consideration given
>> to throwing a RuntimeException from unimplemented classes?

We've tried this in the past, but it has turned out to be more
confusing to have non-working stubs than to simply omit the unwritten
classes and methods.  In the latter case, you can know pretty quickly
that your code doesn't have a chance of working.  So, we decided a
while ago not to do this any more.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]