Patch: gnu.java.net.protocol.file.Handler

Michael Koch konqueror@gmx.de
Tue Sep 14 19:40:00 GMT 2004


On Friday 10 September 2004 17:39, Bryce McKinlay wrote:

> Hmm, this looks ok, but I'm not sure that "keeping the current
> protocol" is the right behaviour if ftp is unavailable. An
> exception should be thrown at some point, IMO. What will happen
> with this patch if someone tries to connect an ftp URL, but the ftp
> handler is not installed?

To answer this this question fully: An exception will be thrown saying 
"ftp: protocol not supported".


Michael



More information about the Java-patches mailing list