This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: merge File.toURI() from Classpath


On Tue, 2004-07-06 at 19:46, Chris Pickett wrote:

> 
> 3) RuntimeException's are what you should throw if there is a 
> programming error, including if it's in the class libraries.  By strong 
> convention, Error's are reserved for the JVM only (Bloch gives two 
> references).  The JLS does not mandate this.

A few classes in Classpath are essentially JVM specific, does that make
them part of the JVM and would they throw Errors?  If all of Classpath
is not considered part of the JVM then I'll agree, use
RuntimeException.  Thanks for providing the summary btw.

Brian

-- 
Brian Jones <cbj@gnu.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]