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: Meskauskas Audrius
Subject: Re: [cp-patches] Patch: improve error handling in String
Date: Thu, 15 Sep 2005 10:23:21 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

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

That one is more difficult to chain (.initCause() must be used).

David Daney wrote:

Anthony Green wrote:

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






reply via email to

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