This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Throwing exceptions from unimplemented classes?
- From: Tom Tromey <tromey at redhat dot com>
- To: Doctor Bill <docbill at gmail dot com>
- Cc: "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>
- Date: 12 Oct 2004 11:52:38 -0600
- Subject: Re: Throwing exceptions from unimplemented classes?
- References: <23bcb870041012104512ada4e4@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == 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