3 Replies Latest reply on Aug 8, 2005 2:41 PM by 843810

    FileNotFoundException

    843810
      Hi all,

      I am trying to write out some data into a file called incvoice.CSV, but i encountered the following exception.

      java.io.FileNotFoundException: C:\temp\invoice.CSV(The system cannot find the file specified)
           at java.io.FileOutputStream.open(Native Method)
           at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
           at java.io.FileOutputStream.<init>(FileOutputStream.java:131)

      Could someone know what do it mean "The system cannot find the file specified" ? I found the exception weird is that I am writing out the data to a new file and this is true that the system shouldn't find the file.

      Thanks for helping me solving the problem above
      nie feng