classpath
[Top][All Lists]
Advanced

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

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


From: Dalibor Topic
Subject: Re: Patch: merge File.toURI() from Classpath
Date: Wed, 07 Jul 2004 20:19:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421

Bryce McKinlay wrote:
Again, these exceptions should be documented as part of our API documentation. They are exceptions that should _never_ happen. No call from the application should cause them to be thrown, thus they are not part of the API. If they are ever thrown, then there is a bug in classpath. Nevertheless, applications should have the ability to try and continue in the face of classpath bugs if they need fault tolerance.

Can't we just use assertions for things that should never happen?

cheers,
dalibor topic




reply via email to

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