From: Simon Morgan Date: 2009-12-09T05:35:19+09:00 Subject: Re: Newbie question: what exceptions are thrown by FTP class Brian, Thanks for your reply, it’s very much appreciated. Really I’m after something along the lines of what Java’s JavaDoc might give which lists the thrown exceptions and the reasons why e.g.: http://java.sun.com/javase/6/docs/api/ (I’m from a Java background). Do you know if this exists or if there is a tool that can generate this sort of info? I did try looking at the source however the problem is just the time it takes to go through everything to find what throws what, and this is fairly error-prone and time-consuming; e.g. if I call nlst() without a network connection, the exception is thrown from nlst > retrlines > voidcmd > putline, which is throwing an error from a call to TCPSocket.write... Thanks for the specific info on FTP though, I’ll work with that for now -- although I guess I may still need to search through all the code to find the different IOError and SystemCallError instances, to see if I’d want to treat them differently. I hope you don’t think I’m being awkward, as I do value your reply and time you put in. Regards Simon -- Posted via http://www.ruby-forum.com/.