i made a class which posts some codes to an url...it gets the codes from a file from my computer...and it generates me txt files with the page's source...the result page after inserting a code...
i caught ioexception and filenotfound exception...but it read a wrong code after 5800 codes...and i have something like 35000...this is the error that occured:
java.io.IOException: Server returned HTTP response code: 504 for URL: http://www.mfinante.ro/contribuabili/link.jsp?body=/cod.do
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
the thing is that i have to 504 code in my file...so...i don't really now what happened or what more exception i shoul treat..cause it's kind oif annoyng to restart the process over and over againt