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: 16 Sep 2005 08:50:49 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Anthony" == Anthony Green <address@hidden> writes:

Anthony> Ok, how about this then....

This patch is going to be nit-picked to death :-)

Anthony> +      // This shouldn't really happen.
Anthony> +        InternalError ie = new InternalError();
Anthony> +      ie.initCause(e);
Anthony> +      throw ie;

How about a message in the error?  With that change it is fine.
Thanks.

Tom




reply via email to

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