This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Exception thrown while createNewFile() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Exception thrown while createNewFile()" Watch "Exception thrown while createNewFile()" New topic
Author

Exception thrown while createNewFile()

jaibhim max
Greenhorn

Joined: Nov 15, 2010
Posts: 21
Hi All,

I am using windows 7 and trying to create a file .testBoringFile on my mounted drive "U:".
I wrote following code.



.testBoringFile gets creates but an exception is thrown while executing"tempFile.createNewFile()".




I referred following link, but doesn't get any useful info. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4857780


Can anyone please help me out?


-akki
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63208
    
  69

"jaibhim max", please check your private messages for an important administrative matter. Thanks.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception thrown while createNewFile()
 
It's not a secret anymore!