classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: improve error handling in String


From: Tom Tromey
Subject: Re: [cp-patches] Patch: improve error handling in String
Date: 15 Sep 2005 09:50:13 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "David" == David Daney <address@hidden> writes:

David> Anthony Green wrote:
>> -      // XXX - Ignore coding exceptions? They shouldn't really happen.
>> -      return null;
>> +      // This shouldn't really happen.
>> +      throw new Error(e);

David> Whould it be better to use InternalError?  That is a little
David> more specific.

Yeah, I thought we had a rule about this, but I can't find it now.  I
think InternalError makes sense here (and furthermore should be in
hacking.texinfo).  Comments?

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]