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: David Daney
Subject: Re: [cp-patches] Patch: improve error handling in String
Date: Wed, 14 Sep 2005 20:14:59 -0700
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720)

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

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

David Daney




reply via email to

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