Patch: merge File.toURI() from Classpath

Dalibor Topic robilad@kaffe.org
Wed Jul 7 18:20:00 GMT 2004


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



More information about the Java-patches mailing list