User Profile
Collapse
-
ok....but after exception it could not read next line...I need to read next line.how it will done... -
it is part of code problem occured...My problem is that iam reading file line by line and done some condition based on index of a string.some case it create string index out of bound exception..Ie not a problem but after string index out of bound exception the program will not exceute next line and terminate.ineed to read next line and program not terminate .....i put continue on finally it will not work..can u please specify any other so...Leave a comment:
-
problem in reading line after exception
i am reading a file line by line...But in some case some exception comes,i catch exception but program not exceute next line.Van u please tell how skip the exception comes on line and exceute next line.I used this but it shows compilation error
finally{
continue;
}
but it shows compilation error can u help me...
try {
FileInputStream fstream = new FileInputStream (args[0]);
log");... -
how to retrieve some contents from text file
Iam reading a file ...and writing some contents to another file.I need to get out put as <edm:Order orderID=2685206 29#26877103>
it is line iread from filenote that it is single line
xmlns:edm="http ://www.bt.com/btgs/eai/EDMOrderSchema" ><edm:OrderTran sactionType><ed m:code>create</edm:code></edm:OrderTransa ctionType><edm: despatchTime>20 06-05-18T17:10:11Z</edm:despatchTim e><edm:OrderTra nsactionResult> <edm:code>SUCCE SS</edm:code></edm:OrderTransa ctionResult><ed m:Order...
No activity results to display
Show More
Leave a comment: